Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -119,8 +119,7 @@ def evaluate_scdd(ai_scdd_file, human_scdd_file, user_input):
|
|
119 |
radar_chart_path = plot_radar_chart(ragas_result)
|
120 |
word_report_path = generate_word_report(user_input, ragas_result, radar_chart_path)
|
121 |
|
122 |
-
|
123 |
-
return score_text, radar_chart_path, word_report_path
|
124 |
|
125 |
|
126 |
# ----- Gradio Interface -----
|
|
|
119 |
radar_chart_path = plot_radar_chart(ragas_result)
|
120 |
word_report_path = generate_word_report(user_input, ragas_result, radar_chart_path)
|
121 |
|
122 |
+
return formatted_scores, radar_chart_path, word_report_path
|
|
|
123 |
|
124 |
|
125 |
# ----- Gradio Interface -----
|