bugfix: format
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def slow_api_response(message, history):
|
|
23 |
try:
|
24 |
|
25 |
response = requests.request("POST", url, headers=headers, data=payload)
|
26 |
-
api_response = response.
|
27 |
|
28 |
for i in range(len(api_response)):
|
29 |
time.sleep(0.05)
|
|
|
23 |
try:
|
24 |
|
25 |
response = requests.request("POST", url, headers=headers, data=payload)
|
26 |
+
api_response = response.text
|
27 |
|
28 |
for i in range(len(api_response)):
|
29 |
time.sleep(0.05)
|