Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def bardChat(data):
|
|
| 27 |
# Create a Bard object with the session and a timeout of 30 seconds
|
| 28 |
bard = Bard(session=session, timeout=30)
|
| 29 |
answer = bard.get_answer(data)['content']
|
| 30 |
-
|
| 31 |
|
| 32 |
return json.dumps({'message':answer,'action':'null'})
|
| 33 |
|
|
|
|
| 27 |
# Create a Bard object with the session and a timeout of 30 seconds
|
| 28 |
bard = Bard(session=session, timeout=30)
|
| 29 |
answer = bard.get_answer(data)['content']
|
| 30 |
+
print(answer)
|
| 31 |
|
| 32 |
return json.dumps({'message':answer,'action':'null'})
|
| 33 |
|