Spaces:
Runtime error
Runtime error
Commit
·
56bc79e
1
Parent(s):
3937f8c
Update app.py
Browse files
app.py
CHANGED
@@ -172,7 +172,7 @@ def analyze_file(file, sentence):
|
|
172 |
score_formatted = "{:.2f}".format(score)
|
173 |
output_text += f"{label}: {score_formatted}\n"
|
174 |
|
175 |
-
return
|
176 |
elif file:
|
177 |
# Only file input is provided
|
178 |
# Process the uploaded file and generate the output files
|
|
|
172 |
score_formatted = "{:.2f}".format(score)
|
173 |
output_text += f"{label}: {score_formatted}\n"
|
174 |
|
175 |
+
return excel_file_path, pie_chart_name, output_text
|
176 |
elif file:
|
177 |
# Only file input is provided
|
178 |
# Process the uploaded file and generate the output files
|