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