JuanMa360 commited on
Commit
032d170
1 Parent(s): b537a99

refactor: response

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -31,6 +31,8 @@ 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
  total_time = 5
36
  response_length = len(api_response)
 
31
  else:
32
  api_response = response.text
33
  api_response = api_response.encode().decode('unicode_escape')
34
+ api_response = api_response["next_actions"][0].get("value")
35
+
36
 
37
  total_time = 5
38
  response_length = len(api_response)