Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -980,17 +980,15 @@ with gr.Blocks(theme=gr.themes.Soft(), css=CSS) as demo:
|
|
| 980 |
|
| 981 |
# Then update the .click() event handler
|
| 982 |
run_comprehensive_btn.click(
|
| 983 |
-
|
| 984 |
-
|
| 985 |
-
|
| 986 |
-
|
| 987 |
-
|
| 988 |
-
|
| 989 |
-
|
| 990 |
-
|
| 991 |
-
|
| 992 |
-
)
|
| 993 |
-
|
| 994 |
demo.load(auto_setup_on_load, inputs=[active_theme], outputs=[settings_state, files_box, mgmt_status])
|
| 995 |
demo.load(load_test_fixtures)
|
| 996 |
test_save_btn.click(fn=test_save_file, inputs=None, outputs=[test_status])
|
|
|
|
| 980 |
|
| 981 |
# Then update the .click() event handler
|
| 982 |
run_comprehensive_btn.click(
|
| 983 |
+
fn=lambda: run_comprehensive_evaluation(
|
| 984 |
+
vs_general=ensure_index("All"),
|
| 985 |
+
vs_personal=personal_vectorstore, # <-- This is correctly passed in
|
| 986 |
+
nlu_vectorstore=nlu_vectorstore,
|
| 987 |
+
config=CONFIG
|
| 988 |
+
),
|
| 989 |
+
outputs=[batch_summary_md, comprehensive_results_df, comprehensive_results_df]
|
| 990 |
+
)
|
| 991 |
+
|
|
|
|
|
|
|
| 992 |
demo.load(auto_setup_on_load, inputs=[active_theme], outputs=[settings_state, files_box, mgmt_status])
|
| 993 |
demo.load(load_test_fixtures)
|
| 994 |
test_save_btn.click(fn=test_save_file, inputs=None, outputs=[test_status])
|