Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,7 @@ def bardChat(data):
|
|
34 |
# Create a Bard object with the session and a timeout of 30 seconds
|
35 |
bard = Bard(session=session, timeout=30)
|
36 |
answer = bard.get_answer(data)['content']
|
|
|
37 |
return answer
|
38 |
# return json.dumps({'message':answer,'action':'null'})
|
39 |
|
|
|
34 |
# Create a Bard object with the session and a timeout of 30 seconds
|
35 |
bard = Bard(session=session, timeout=30)
|
36 |
answer = bard.get_answer(data)['content']
|
37 |
+
print(answer)
|
38 |
return answer
|
39 |
# return json.dumps({'message':answer,'action':'null'})
|
40 |
|