Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def create_interface():
|
|
20 |
chart_container = gr.Column()
|
21 |
|
22 |
def process_and_update(input_file):
|
23 |
-
results = process_input(input_file, progress)
|
24 |
chart_outputs = update_visibility_and_charts(*results)
|
25 |
new_charts = [gr.Plot(visible=True) for _ in range(len(chart_outputs) - 4)]
|
26 |
return chart_outputs[:4] + [gr.Column(new_charts)]
|
|
|
20 |
chart_container = gr.Column()
|
21 |
|
22 |
def process_and_update(input_file):
|
23 |
+
results = process_input(input_file, progress=gr.Progress())
|
24 |
chart_outputs = update_visibility_and_charts(*results)
|
25 |
new_charts = [gr.Plot(visible=True) for _ in range(len(chart_outputs) - 4)]
|
26 |
return chart_outputs[:4] + [gr.Column(new_charts)]
|