Spaces:
Sleeping
Sleeping
VeryMadSoul
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def generate_response(prompt, email, passwd):
|
|
55 |
# Hugging Face Login
|
56 |
sign = Login(email, passwd)
|
57 |
cookies = sign.login()
|
58 |
-
sign.saveCookies()
|
59 |
# Create ChatBot
|
60 |
chatbot = hugchat.ChatBot(cookies=cookies.get_dict())
|
61 |
response = chatbot.chat(prompt)
|
|
|
55 |
# Hugging Face Login
|
56 |
sign = Login(email, passwd)
|
57 |
cookies = sign.login()
|
58 |
+
sign.saveCookies(./cookies/)
|
59 |
# Create ChatBot
|
60 |
chatbot = hugchat.ChatBot(cookies=cookies.get_dict())
|
61 |
response = chatbot.chat(prompt)
|