Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import inspect
|
|
| 5 |
import pandas as pd
|
| 6 |
|
| 7 |
# --- AGENTE SIMPLIFICADO CON FUNCIONALIDAD PERSONALIZADA ---
|
| 8 |
-
from my_tools import
|
| 9 |
|
| 10 |
def basic_agent_response(question):
|
| 11 |
# Estrategia simple para elegir herramienta
|
|
@@ -96,5 +96,12 @@ with gr.Blocks() as demo:
|
|
| 96 |
run_button.click(fn=run_and_submit_all, outputs=[status_output, results_table])
|
| 97 |
|
| 98 |
if __name__ == "__main__":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
print("Launching Gradio Interface for Basic Agent Evaluation...")
|
| 100 |
demo.launch(debug=True, share=False)
|
|
|
|
|
|
|
|
|
| 5 |
import pandas as pd
|
| 6 |
|
| 7 |
# --- AGENTE SIMPLIFICADO CON FUNCIONALIDAD PERSONALIZADA ---
|
| 8 |
+
from my_tools import basic_agent_response
|
| 9 |
|
| 10 |
def basic_agent_response(question):
|
| 11 |
# Estrategia simple para elegir herramienta
|
|
|
|
| 96 |
run_button.click(fn=run_and_submit_all, outputs=[status_output, results_table])
|
| 97 |
|
| 98 |
if __name__ == "__main__":
|
| 99 |
+
print("🔍 Prueba de pregunta GAIA manual")
|
| 100 |
+
test_question = "¿Cuánto es 37 por 19?"
|
| 101 |
+
print("Pregunta:", test_question)
|
| 102 |
+
print("Respuesta del agente:", basic_agent_response(test_question))
|
| 103 |
+
|
| 104 |
print("Launching Gradio Interface for Basic Agent Evaluation...")
|
| 105 |
demo.launch(debug=True, share=False)
|
| 106 |
+
|
| 107 |
+
|