Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def bardChat(data):
|
|
23 |
}
|
24 |
|
25 |
# Set the "__Secure-1PSID" cookie with the Bard API key
|
26 |
-
session.cookies.set("__Secure-1PSID",
|
27 |
|
28 |
# Create a Bard object with the session and a timeout of 30 seconds
|
29 |
bard = Bard(token=bardKey, session=session, timeout=30)
|
|
|
23 |
}
|
24 |
|
25 |
# Set the "__Secure-1PSID" cookie with the Bard API key
|
26 |
+
session.cookies.set("__Secure-1PSID", bardKey)
|
27 |
|
28 |
# Create a Bard object with the session and a timeout of 30 seconds
|
29 |
bard = Bard(token=bardKey, session=session, timeout=30)
|