SolshineMisfit commited on
Commit
6aae1a3
·
verified ·
1 Parent(s): 280bb50

Removed share=True from GradioUI agent launch

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(share=True)
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")