Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -422,7 +422,7 @@ def main():
|
|
| 422 |
""")
|
| 423 |
|
| 424 |
elif generate_button:
|
| 425 |
-
if not GEMINI_API_KEY or GEMINI_API_KEY == "
|
| 426 |
st.error("Please configure your Gemini API key in the backend.")
|
| 427 |
return
|
| 428 |
|
|
|
|
| 422 |
""")
|
| 423 |
|
| 424 |
elif generate_button:
|
| 425 |
+
if not GEMINI_API_KEY or GEMINI_API_KEY == os.getenv("GEMENI_KEY"):
|
| 426 |
st.error("Please configure your Gemini API key in the backend.")
|
| 427 |
return
|
| 428 |
|