Spaces:
Sleeping
Sleeping
Revert previous commit
Browse files- Gradio_UI.py +1 -1
Gradio_UI.py
CHANGED
@@ -275,7 +275,7 @@ class GradioUI:
|
|
275 |
scale=1,
|
276 |
)
|
277 |
# If an upload folder is provided, enable the upload feature
|
278 |
-
if self.file_upload_folder is None:
|
279 |
upload_file = gr.File(label="Upload a file")
|
280 |
upload_status = gr.Textbox(label="Upload Status", interactive=False, visible=False)
|
281 |
upload_file.change(
|
|
|
275 |
scale=1,
|
276 |
)
|
277 |
# If an upload folder is provided, enable the upload feature
|
278 |
+
if self.file_upload_folder is not None:
|
279 |
upload_file = gr.File(label="Upload a file")
|
280 |
upload_status = gr.Textbox(label="Upload Status", interactive=False, visible=False)
|
281 |
upload_file.change(
|