Update app.py
Browse files
app.py
CHANGED
|
@@ -928,13 +928,14 @@ class BasicAgent:
|
|
| 928 |
else:
|
| 929 |
print(f"Failed to download file: {response.status_code}")
|
| 930 |
|
| 931 |
-
df = pd.read_excel("downloaded_file.xlsx")
|
| 932 |
|
| 933 |
try:
|
| 934 |
# response = self.safe_app.invoke(state)
|
| 935 |
# agent_answer = response["output"]
|
| 936 |
|
| 937 |
-
agent_answer = str(df)
|
|
|
|
| 938 |
except:
|
| 939 |
agent_answer = ""
|
| 940 |
|
|
|
|
| 928 |
else:
|
| 929 |
print(f"Failed to download file: {response.status_code}")
|
| 930 |
|
| 931 |
+
# df = pd.read_excel("downloaded_file.xlsx")
|
| 932 |
|
| 933 |
try:
|
| 934 |
# response = self.safe_app.invoke(state)
|
| 935 |
# agent_answer = response["output"]
|
| 936 |
|
| 937 |
+
# agent_answer = str(df)
|
| 938 |
+
agent_answer = str(response.status_code)
|
| 939 |
except:
|
| 940 |
agent_answer = ""
|
| 941 |
|