Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -233,8 +233,5 @@ def main_app():
|
|
| 233 |
# --- Application Entry Point ---
|
| 234 |
# [ if __name__ == "__main__": block remains the same ]
|
| 235 |
if __name__ == "__main__":
|
| 236 |
-
if HAS_OPENAI_AGENT and not os.getenv("OPENAI_API_KEY"):
|
| 237 |
-
logging.warning("OPENAI_API_KEY environment variable not set. OpenAI Agent will not function.")
|
| 238 |
-
|
| 239 |
app = main_app()
|
| 240 |
app.launch()
|
|
|
|
| 233 |
# --- Application Entry Point ---
|
| 234 |
# [ if __name__ == "__main__": block remains the same ]
|
| 235 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
| 236 |
app = main_app()
|
| 237 |
app.launch()
|