anonymous
commited on
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -1
src/streamlit_app.py
CHANGED
|
@@ -6,7 +6,8 @@ import os
|
|
| 6 |
|
| 7 |
# ==== Load API Key from .env ====
|
| 8 |
load_dotenv()
|
| 9 |
-
hf_api_key = os.getenv("
|
|
|
|
| 10 |
|
| 11 |
if not hf_api_key:
|
| 12 |
st.error("❌ API key not found. Please set HUGGINGFACE_API_KEY in your .env file.")
|
|
|
|
| 6 |
|
| 7 |
# ==== Load API Key from .env ====
|
| 8 |
load_dotenv()
|
| 9 |
+
hf_api_key = os.getenv("SECRET")
|
| 10 |
+
print(hf_api_key)
|
| 11 |
|
| 12 |
if not hf_api_key:
|
| 13 |
st.error("❌ API key not found. Please set HUGGINGFACE_API_KEY in your .env file.")
|