Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def bardChat(data):
|
|
| 29 |
}
|
| 30 |
|
| 31 |
# Set the "__Secure-1PSID" cookie with the Bard API key
|
| 32 |
-
session.cookies.set("__Secure-1PSID",
|
| 33 |
|
| 34 |
# Create a Bard object with the session and a timeout of 30 seconds
|
| 35 |
bard = Bard(session=session, timeout=30)
|
|
|
|
| 29 |
}
|
| 30 |
|
| 31 |
# Set the "__Secure-1PSID" cookie with the Bard API key
|
| 32 |
+
session.cookies.set("__Secure-1PSID", bardkey)
|
| 33 |
|
| 34 |
# Create a Bard object with the session and a timeout of 30 seconds
|
| 35 |
bard = Bard(session=session, timeout=30)
|