Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -154,7 +154,7 @@ class BasicAgent:
|
|
154 |
excel_text = _load_excel_as_text(file_info)
|
155 |
print_coso(f"Excel before prompt: {excel_text}")
|
156 |
prompt = (
|
157 |
-
"The following is the text extracted from an Excel spreadsheet
|
158 |
"Please use it to answer the question that follows:\n\n"
|
159 |
f"{excel_text}\n\n"
|
160 |
f"Question: {question}\n"
|
|
|
154 |
excel_text = _load_excel_as_text(file_info)
|
155 |
print_coso(f"Excel before prompt: {excel_text}")
|
156 |
prompt = (
|
157 |
+
"The following is the text extracted from an Excel spreadsheet, the symbol `|` is used to separate each column, and every row of the text represents a raw of the table. \n"
|
158 |
"Please use it to answer the question that follows:\n\n"
|
159 |
f"{excel_text}\n\n"
|
160 |
f"Question: {question}\n"
|