Commit
·
1098883
1
Parent(s):
19098d4
...
Browse files
app.py
CHANGED
@@ -1422,7 +1422,7 @@ def run_and_submit_all(profile: gr.OAuthProfile | None):
|
|
1422 |
except Exception as e: return f"Submission Failed: {e}", pd.DataFrame(results_log_for_gradio)
|
1423 |
|
1424 |
with gr.Blocks(title="GAIA RAG Agent - Advanced") as demo:
|
1425 |
-
gr.Markdown("# GAIA
|
1426 |
gr.Markdown(
|
1427 |
"""
|
1428 |
**Instructions:**
|
@@ -1439,7 +1439,7 @@ with gr.Blocks(title="GAIA RAG Agent - Advanced") as demo:
|
|
1439 |
run_button.click(fn=run_and_submit_all, inputs=[], outputs=[status_output, results_table])
|
1440 |
|
1441 |
if __name__ == "__main__":
|
1442 |
-
print("\n" + "-"*30 + " GAIA
|
1443 |
required_env = {
|
1444 |
"GOOGLE_GEMINI_API_KEY": GOOGLE_GEMINI_API_KEY,
|
1445 |
"GOOGLE_API_KEY": GOOGLE_CUSTOM_SEARCH_API_KEY,
|
@@ -1467,5 +1467,5 @@ if __name__ == "__main__":
|
|
1467 |
print(f"--- Using GEMINI_RPM_LIMIT: {gemini_rpm} (Ensure this matches your Gemini API plan limits) ---")
|
1468 |
|
1469 |
|
1470 |
-
print("-"*(60 + len(" GAIA
|
1471 |
demo.launch(server_name="0.0.0.0", server_port=7860, debug=False, share=False)
|
|
|
1422 |
except Exception as e: return f"Submission Failed: {e}", pd.DataFrame(results_log_for_gradio)
|
1423 |
|
1424 |
with gr.Blocks(title="GAIA RAG Agent - Advanced") as demo:
|
1425 |
+
gr.Markdown("# GAIA Agent")
|
1426 |
gr.Markdown(
|
1427 |
"""
|
1428 |
**Instructions:**
|
|
|
1439 |
run_button.click(fn=run_and_submit_all, inputs=[], outputs=[status_output, results_table])
|
1440 |
|
1441 |
if __name__ == "__main__":
|
1442 |
+
print("\n" + "-"*30 + " GAIA Agent - RAG, FileProc, Video Analysis " + "-"*30)
|
1443 |
required_env = {
|
1444 |
"GOOGLE_GEMINI_API_KEY": GOOGLE_GEMINI_API_KEY,
|
1445 |
"GOOGLE_API_KEY": GOOGLE_CUSTOM_SEARCH_API_KEY,
|
|
|
1467 |
print(f"--- Using GEMINI_RPM_LIMIT: {gemini_rpm} (Ensure this matches your Gemini API plan limits) ---")
|
1468 |
|
1469 |
|
1470 |
+
print("-"*(60 + len(" GAIA Agent - RAG, FileProc, Video Analysis ")) + "\n")
|
1471 |
demo.launch(server_name="0.0.0.0", server_port=7860, debug=False, share=False)
|