Spaces:
Runtime error
Runtime error
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(data)['content']
|
31 |
# print(answer)
|
32 |
return answer
|
33 |
|
|
|
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, token=bardKey)['content']
|
31 |
# print(answer)
|
32 |
return answer
|
33 |
|