JuanMa360 commited on
Commit
f02d17c
·
1 Parent(s): 4122404

refactor: template response

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ 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
- print(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
+ response = json.loads(response)
36
  api_response = response['next_actions']
37
  api_response = api_response[0].get('value')
38