Spaces:
Sleeping
Sleeping
Fix: Remove gr.Progress from click event inputs
Browse files
app.py
CHANGED
|
@@ -298,8 +298,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
|
| 298 |
|
| 299 |
submit_button.click(
|
| 300 |
fn=process_input_updated,
|
| 301 |
-
inputs=[url_input, source_type_input, depth_input, output_format_input, progress_bar
|
| 302 |
-
outputs=[status_output, preview_output, file_download_output]
|
|
|
|
| 303 |
)
|
| 304 |
|
| 305 |
if __name__ == "__main__":
|
|
|
|
| 298 |
|
| 299 |
submit_button.click(
|
| 300 |
fn=process_input_updated,
|
| 301 |
+
inputs=[url_input, source_type_input, depth_input, output_format_input], # Removed progress_bar
|
| 302 |
+
outputs=[status_output, preview_output, file_download_output],
|
| 303 |
+
# The progress instance is passed to the function via its signature's default or if explicitly managed
|
| 304 |
)
|
| 305 |
|
| 306 |
if __name__ == "__main__":
|