Spaces:
Sleeping
Sleeping
Ryan
commited on
Commit
·
8f5c22b
1
Parent(s):
b5a710f
update
Browse files
app.py
CHANGED
@@ -990,7 +990,7 @@ def create_app():
|
|
990 |
return "", "*No summary selected*"
|
991 |
|
992 |
if file_name == "CLEAR DATA":
|
993 |
-
return "", "**Content cleared**"
|
994 |
|
995 |
# Handle the special "YOUR DATASET RESULTS" option
|
996 |
if file_name == "YOUR DATASET RESULTS":
|
@@ -1175,14 +1175,14 @@ def create_app():
|
|
1175 |
load_summary_btn.click(
|
1176 |
fn=load_summary_content,
|
1177 |
inputs=[summary_dropdown, user_analysis_log],
|
1178 |
-
outputs=[summary_content, summary_status]
|
1179 |
)
|
1180 |
|
1181 |
# Also load summary when dropdown changes
|
1182 |
summary_dropdown.change(
|
1183 |
fn=load_summary_content,
|
1184 |
inputs=[summary_dropdown, user_analysis_log],
|
1185 |
-
outputs=[summary_content, summary_status]
|
1186 |
)
|
1187 |
# Add a Visuals tab for plotting graphs
|
1188 |
with gr.Tab("Visuals"):
|
|
|
990 |
return "", "*No summary selected*"
|
991 |
|
992 |
if file_name == "CLEAR DATA":
|
993 |
+
return "", "**Content cleared**", {}
|
994 |
|
995 |
# Handle the special "YOUR DATASET RESULTS" option
|
996 |
if file_name == "YOUR DATASET RESULTS":
|
|
|
1175 |
load_summary_btn.click(
|
1176 |
fn=load_summary_content,
|
1177 |
inputs=[summary_dropdown, user_analysis_log],
|
1178 |
+
outputs=[summary_content, summary_status, user_analysis_log]
|
1179 |
)
|
1180 |
|
1181 |
# Also load summary when dropdown changes
|
1182 |
summary_dropdown.change(
|
1183 |
fn=load_summary_content,
|
1184 |
inputs=[summary_dropdown, user_analysis_log],
|
1185 |
+
outputs=[summary_content, summary_status, user_analysis_log]
|
1186 |
)
|
1187 |
# Add a Visuals tab for plotting graphs
|
1188 |
with gr.Tab("Visuals"):
|