refactor: template response
Browse files
app.py
CHANGED
@@ -36,7 +36,6 @@ def slow_api_response(message, history, property_id="c0ced2220b87fc23762facf6171
|
|
36 |
response = json.loads(api_response)
|
37 |
api_response = response['next_actions']
|
38 |
api_response = api_response[0].get('value')
|
39 |
-
return api_response
|
40 |
|
41 |
total_time = 5
|
42 |
response_length = len(api_response)
|
|
|
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)
|