Spaces:
Paused
Paused
Update Gradio_UI.py
Browse files- Gradio_UI.py +1 -1
Gradio_UI.py
CHANGED
@@ -214,7 +214,7 @@ class GradioUI:
|
|
214 |
raise ModuleNotFoundError(
|
215 |
"Please install 'gradio' extra to use the GradioUI: `pip install 'smolagents[gradio]'`"
|
216 |
)
|
217 |
-
self.agent_cloner =
|
218 |
self.file_upload_folder = file_upload_folder
|
219 |
if self.file_upload_folder is not None:
|
220 |
if not os.path.exists(file_upload_folder):
|
|
|
214 |
raise ModuleNotFoundError(
|
215 |
"Please install 'gradio' extra to use the GradioUI: `pip install 'smolagents[gradio]'`"
|
216 |
)
|
217 |
+
self.agent_cloner = agent_cloner
|
218 |
self.file_upload_folder = file_upload_folder
|
219 |
if self.file_upload_folder is not None:
|
220 |
if not os.path.exists(file_upload_folder):
|