bugfix: format
Browse files
app.py
CHANGED
@@ -24,6 +24,7 @@ def slow_api_response(message, history):
|
|
24 |
# Realiza la solicitud POST a la API
|
25 |
response = requests.request("POST", url, headers=headers, data=payload)
|
26 |
api_response = response.text
|
|
|
27 |
|
28 |
# Simula una respuesta progresiva
|
29 |
for i in range(len(api_response)):
|
|
|
24 |
# Realiza la solicitud POST a la API
|
25 |
response = requests.request("POST", url, headers=headers, data=payload)
|
26 |
api_response = response.text
|
27 |
+
api_response = api_response.encode().decode('unicode_escape')
|
28 |
|
29 |
# Simula una respuesta progresiva
|
30 |
for i in range(len(api_response)):
|