Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -359,7 +359,7 @@ with gr.Blocks() as demo:
|
|
| 359 |
def update_inputs(file, label_col):
|
| 360 |
print(f"Updating inputs with file: {file}, label_col: {label_col}") # Debug logging
|
| 361 |
components = create_interactive_inputs(file, label_col)
|
| 362 |
-
return components, gr.
|
| 363 |
|
| 364 |
file_input.change(
|
| 365 |
fn=update_inputs,
|
|
|
|
| 359 |
def update_inputs(file, label_col):
|
| 360 |
print(f"Updating inputs with file: {file}, label_col: {label_col}") # Debug logging
|
| 361 |
components = create_interactive_inputs(file, label_col)
|
| 362 |
+
return components, gr.Column(visible=True, elements=components) # Use elements instead of components
|
| 363 |
|
| 364 |
file_input.change(
|
| 365 |
fn=update_inputs,
|