Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -302,10 +302,12 @@ def create_interface():
|
|
302 |
input_file.upload(
|
303 |
fn=process_input,
|
304 |
inputs=[input_file],
|
305 |
-
outputs=[progress_text, execution_time, detected_language, input_info,
|
|
|
306 |
).then(
|
307 |
fn=update_visibility_and_charts,
|
308 |
-
inputs=[progress_text, execution_time, detected_language, input_info,
|
|
|
309 |
outputs=[progress_text, execution_time, detected_language, input_info, *charts]
|
310 |
)
|
311 |
|
|
|
302 |
input_file.upload(
|
303 |
fn=process_input,
|
304 |
inputs=[input_file],
|
305 |
+
outputs=[progress_text, execution_time, detected_language, input_info,
|
306 |
+
gr.Textbox(visible=False), gr.Textbox(visible=False), gr.Textbox(visible=False)] # Placeholder outputs for attachments, bigfive, and personalities
|
307 |
).then(
|
308 |
fn=update_visibility_and_charts,
|
309 |
+
inputs=[progress_text, execution_time, detected_language, input_info,
|
310 |
+
gr.Textbox(visible=False), gr.Textbox(visible=False), gr.Textbox(visible=False)], # Placeholder inputs
|
311 |
outputs=[progress_text, execution_time, detected_language, input_info, *charts]
|
312 |
)
|
313 |
|