danielkorat commited on
Commit
8800702
·
verified ·
1 Parent(s): b4dc305

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -59,7 +59,7 @@ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_co
59
  def wolfram_alpha(query: str)-> str:
60
  """
61
  A wrapper arounf Wolfram Alpha, nn intelligent tool that answers questions about Math, Geography,
62
- Demographics, Sports, Music, Science, Technology, Culture, Society
63
  and Everyday Life. Input should be a search query."
64
  Args:
65
  query: The search query.
@@ -292,7 +292,7 @@ def stream_to_gradio(
292
  class GradioUI:
293
  """A one-line interface to launch your agent in Gradio"""
294
 
295
- def __init__(self, file_upload_folder: str | None = "uploads"):
296
 
297
  self.file_upload_folder = file_upload_folder
298
  if self.file_upload_folder is not None:
 
59
  def wolfram_alpha(query: str)-> str:
60
  """
61
  A wrapper arounf Wolfram Alpha, nn intelligent tool that answers questions about Math, Geography,
62
+ Demographics, American Sports and stadiums, Music, Science, Technology, Culture, Society
63
  and Everyday Life. Input should be a search query."
64
  Args:
65
  query: The search query.
 
292
  class GradioUI:
293
  """A one-line interface to launch your agent in Gradio"""
294
 
295
+ def __init__(self, file_upload_folder: str | None = None):
296
 
297
  self.file_upload_folder = file_upload_folder
298
  if self.file_upload_folder is not None: