Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -625,10 +625,10 @@ with gr.Blocks(css=css) as demo:
|
|
625 |
label="📣 Status", lines=18, interactive=False, elem_id="status-box"
|
626 |
)
|
627 |
workbook_upload.change(
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
with gr.Group(elem_classes="panel"):
|
633 |
zip_download_btn = gr.Button("📦")
|
634 |
|
|
|
625 |
label="📣 Status", lines=18, interactive=False, elem_id="status-box"
|
626 |
)
|
627 |
workbook_upload.change(
|
628 |
+
fn=read_uploaded_workbook,
|
629 |
+
inputs=[workbook_upload],
|
630 |
+
outputs=[image_data_state, status] # ✅ status is now defined
|
631 |
+
)
|
632 |
with gr.Group(elem_classes="panel"):
|
633 |
zip_download_btn = gr.Button("📦")
|
634 |
|