Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,8 +35,7 @@ def respond(message, history):
|
|
| 35 |
#print(response_data)
|
| 36 |
|
| 37 |
except Exception as error:
|
| 38 |
-
response_data = f"ERROR status_code: {type(error).__name__}"
|
| 39 |
-
# + str(response.status_code) + " response:" + response.text
|
| 40 |
|
| 41 |
# print(response.json())
|
| 42 |
return response_data
|
|
|
|
| 35 |
#print(response_data)
|
| 36 |
|
| 37 |
except Exception as error:
|
| 38 |
+
response_data = f"ERROR status_code: {type(error).__name__}"+ str(response.status_code) + " response:" + response.text
|
|
|
|
| 39 |
|
| 40 |
# print(response.json())
|
| 41 |
return response_data
|