Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -481,7 +481,7 @@ print(f"Available tools: final_answer, Sonar_Web_Search_Tool, {search_tool_name}
|
|
| 481 |
# To fix the TypeError in Gradio_UI.py, you would need to modify that file
|
| 482 |
# For now, we'll just use the agent directly
|
| 483 |
try:
|
| 484 |
-
GradioUI(agent).launch(
|
| 485 |
except TypeError as e:
|
| 486 |
if "unsupported operand type(s) for +=" in str(e):
|
| 487 |
print("Error: Token counting issue in Gradio UI")
|
|
|
|
| 481 |
# To fix the TypeError in Gradio_UI.py, you would need to modify that file
|
| 482 |
# For now, we'll just use the agent directly
|
| 483 |
try:
|
| 484 |
+
GradioUI(agent).launch()
|
| 485 |
except TypeError as e:
|
| 486 |
if "unsupported operand type(s) for +=" in str(e):
|
| 487 |
print("Error: Token counting issue in Gradio UI")
|