cppowboy commited on
Commit
6861115
1 Parent(s): c93f519

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -34,6 +34,7 @@ def respond( _question, _chat_bot,_app_cfg):
34
  })
35
  resp = resp.json()
36
  # _answer = resp['data']['response']
 
37
  _answer = resp['response']
38
  print(f'question: {_question}, answer: {_answer}')
39
  except Exception as e:
 
34
  })
35
  resp = resp.json()
36
  # _answer = resp['data']['response']
37
+ print('get response', resp)
38
  _answer = resp['response']
39
  print(f'question: {_question}, answer: {_answer}')
40
  except Exception as e: