Update app.py
Browse files
app.py
CHANGED
|
@@ -372,7 +372,6 @@ if __name__ == "__main__":
|
|
| 372 |
space_host_startup = os.getenv("SPACE_HOST")
|
| 373 |
space_id_startup = os.getenv("SPACE_ID")
|
| 374 |
google_api_key = os.getenv("GOOGLE_API_KEY")
|
| 375 |
-
tavily_api_key = os.getenv("TAVILY_API_KEY")
|
| 376 |
|
| 377 |
if space_host_startup:
|
| 378 |
print(f"✅ SPACE_HOST found: {space_host_startup}")
|
|
@@ -391,12 +390,6 @@ if __name__ == "__main__":
|
|
| 391 |
print("✅ GOOGLE_API_KEY found")
|
| 392 |
else:
|
| 393 |
print("⚠️ GOOGLE_API_KEY not found - agent will not work without it!")
|
| 394 |
-
|
| 395 |
-
if tavily_api_key:
|
| 396 |
-
print("✅ TAVILY_API_KEY found")
|
| 397 |
-
else:
|
| 398 |
-
print("⚠️ TAVILY_API_KEY not found - web search will not work!")
|
| 399 |
-
|
| 400 |
print("-"*(60 + len(" App Starting ")) + "\n")
|
| 401 |
|
| 402 |
print("Launching Gradio Interface for GAIA Agent Evaluation...")
|
|
|
|
| 372 |
space_host_startup = os.getenv("SPACE_HOST")
|
| 373 |
space_id_startup = os.getenv("SPACE_ID")
|
| 374 |
google_api_key = os.getenv("GOOGLE_API_KEY")
|
|
|
|
| 375 |
|
| 376 |
if space_host_startup:
|
| 377 |
print(f"✅ SPACE_HOST found: {space_host_startup}")
|
|
|
|
| 390 |
print("✅ GOOGLE_API_KEY found")
|
| 391 |
else:
|
| 392 |
print("⚠️ GOOGLE_API_KEY not found - agent will not work without it!")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 393 |
print("-"*(60 + len(" App Starting ")) + "\n")
|
| 394 |
|
| 395 |
print("Launching Gradio Interface for GAIA Agent Evaluation...")
|