Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:
|