Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ class BasicAgent:
|
|
149 |
|
150 |
elif file_info.endswith(".xlsx"):
|
151 |
print_coso("Excel file detected")
|
152 |
-
excel_text =
|
153 |
print_coso(f"Excel before prompt: {excel_text}")
|
154 |
prompt = (
|
155 |
"The following is the text extracted from an Excel spreadsheet.\n"
|
|
|
149 |
|
150 |
elif file_info.endswith(".xlsx"):
|
151 |
print_coso("Excel file detected")
|
152 |
+
excel_text = _load_excel_as_text(file_info)
|
153 |
print_coso(f"Excel before prompt: {excel_text}")
|
154 |
prompt = (
|
155 |
"The following is the text extracted from an Excel spreadsheet.\n"
|