refactor: paths
Browse files
app.py
CHANGED
@@ -31,11 +31,14 @@ def slow_api_response(message, history, property_id="c0ced2220b87fc23762facf6171
|
|
31 |
else:
|
32 |
api_response = response.text
|
33 |
api_response = api_response.encode().decode('unicode_escape')
|
|
|
34 |
|
35 |
if property_id == 'development_one':
|
36 |
response = json.loads(api_response)
|
37 |
api_response = response['next_actions']
|
38 |
api_response = api_response[0].get('value')
|
|
|
|
|
39 |
|
40 |
total_time = 5
|
41 |
response_length = len(api_response)
|
|
|
31 |
else:
|
32 |
api_response = response.text
|
33 |
api_response = api_response.encode().decode('unicode_escape')
|
34 |
+
print(api_response)
|
35 |
|
36 |
if property_id == 'development_one':
|
37 |
response = json.loads(api_response)
|
38 |
api_response = response['next_actions']
|
39 |
api_response = api_response[0].get('value')
|
40 |
+
print(api_response)
|
41 |
+
|
42 |
|
43 |
total_time = 5
|
44 |
response_length = len(api_response)
|