refactor: template response
Browse files
app.py
CHANGED
@@ -32,7 +32,6 @@ def slow_api_response(message, history, property_id="c0ced2220b87fc23762facf6171
|
|
32 |
api_response = response.text
|
33 |
response = api_response.encode().decode('unicode_escape')
|
34 |
response = json.loads(response)
|
35 |
-
response = json.loads(response)
|
36 |
api_response = response['next_actions']
|
37 |
api_response = api_response[0].get('value')
|
38 |
|
|
|
32 |
api_response = response.text
|
33 |
response = api_response.encode().decode('unicode_escape')
|
34 |
response = json.loads(response)
|
|
|
35 |
api_response = response['next_actions']
|
36 |
api_response = api_response[0].get('value')
|
37 |
|