Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,8 @@ Provide a concise, user-friendly interpretation of these findings in simple term
|
|
147 |
# Step 1: Inspect file
|
148 |
def preview_file(file):
|
149 |
msg, cols, preview = inspect_file(file)
|
150 |
-
|
|
|
151 |
|
152 |
with gr.Blocks() as demo:
|
153 |
gr.Markdown("# NeuroNarrative-Lite: EEG Summary with Flexible Preprocessing")
|
|
|
147 |
# Step 1: Inspect file
|
148 |
def preview_file(file):
|
149 |
msg, cols, preview = inspect_file(file)
|
150 |
+
# Instead of gr.Dropdown.update(...)
|
151 |
+
return msg, {"choices": cols, "value": None}, preview
|
152 |
|
153 |
with gr.Blocks() as demo:
|
154 |
gr.Markdown("# NeuroNarrative-Lite: EEG Summary with Flexible Preprocessing")
|