Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1617,10 +1617,8 @@ with gr.Blocks(css=css, title="DataSynth — Analytics Hub") as demo:
|
|
| 1617 |
|
| 1618 |
# Prepare tab callbacks
|
| 1619 |
def _update_prepare_ui(df_path):
|
| 1620 |
-
"""Update all UI elements when prepare tab is loaded"""
|
| 1621 |
if not df_path:
|
| 1622 |
return update_column_lists(None)
|
| 1623 |
-
|
| 1624 |
try:
|
| 1625 |
df = pd.read_csv(df_path)
|
| 1626 |
return update_column_lists(df)
|
|
|
|
| 1617 |
|
| 1618 |
# Prepare tab callbacks
|
| 1619 |
def _update_prepare_ui(df_path):
|
|
|
|
| 1620 |
if not df_path:
|
| 1621 |
return update_column_lists(None)
|
|
|
|
| 1622 |
try:
|
| 1623 |
df = pd.read_csv(df_path)
|
| 1624 |
return update_column_lists(df)
|