Spaces:
Runtime error
Runtime error
Removed share=True from GradioUI agent launch
Browse files
app.py
CHANGED
|
@@ -622,7 +622,7 @@ print(f"Available tools: final_answer, Sonar_Web_Search_Tool, {search_tool_name}
|
|
| 622 |
# To fix the TypeError in Gradio_UI.py, you would need to modify that file
|
| 623 |
# For now, we'll just use the agent directly
|
| 624 |
try:
|
| 625 |
-
GradioUI(agent).launch(
|
| 626 |
except TypeError as e:
|
| 627 |
if "unsupported operand type(s) for +=" in str(e):
|
| 628 |
print("Error: Token counting issue in Gradio UI")
|
|
|
|
| 622 |
# To fix the TypeError in Gradio_UI.py, you would need to modify that file
|
| 623 |
# For now, we'll just use the agent directly
|
| 624 |
try:
|
| 625 |
+
GradioUI(agent).launch()
|
| 626 |
except TypeError as e:
|
| 627 |
if "unsupported operand type(s) for +=" in str(e):
|
| 628 |
print("Error: Token counting issue in Gradio UI")
|