CosmoAI commited on
Commit
4189e1c
1 Parent(s): b04bdf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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