Spaces:
Sleeping
Sleeping
Ajaykanth Maddi commited on
Commit ·
51b3c3e
1
Parent(s): 743ea92
Code Changes - Advanced Options
Browse files
app.py
CHANGED
|
@@ -185,6 +185,7 @@ def generate_advance_report(subset_dropdown, dataset_type_dropdown, chunking_dro
|
|
| 185 |
}
|
| 186 |
}
|
| 187 |
|
|
|
|
| 188 |
try:
|
| 189 |
export_data["questions"] = advanced_analysis.get(subset_dropdown, {}).get('questions', [])
|
| 190 |
except Exception as e:
|
|
@@ -594,10 +595,10 @@ with gr.Blocks(
|
|
| 594 |
|
| 595 |
evaluate_report.click(
|
| 596 |
fn=generate_advance_report,
|
| 597 |
-
inputs=[subset_dropdown, dataset_type_dropdown,
|
| 598 |
-
|
| 599 |
-
|
| 600 |
-
|
| 601 |
],
|
| 602 |
outputs=[json_output, download_file]
|
| 603 |
)
|
|
|
|
| 185 |
}
|
| 186 |
}
|
| 187 |
|
| 188 |
+
print(f"Extracting advanced analysis for subset: {subset_dropdown}")
|
| 189 |
try:
|
| 190 |
export_data["questions"] = advanced_analysis.get(subset_dropdown, {}).get('questions', [])
|
| 191 |
except Exception as e:
|
|
|
|
| 595 |
|
| 596 |
evaluate_report.click(
|
| 597 |
fn=generate_advance_report,
|
| 598 |
+
inputs=[subset_dropdown, dataset_type_dropdown,
|
| 599 |
+
chunking_dropdown, embed_dropdown, retriever_dropdown,
|
| 600 |
+
chunk_count, retriever_type, noOfQuestions,
|
| 601 |
+
reranking_checkbox, evaluator_dropdown
|
| 602 |
],
|
| 603 |
outputs=[json_output, download_file]
|
| 604 |
)
|