Spaces:
Running
Running
Update app.py
Browse files
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 =
|
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:
|