hello
Browse files
App/Generate/utils/HuggingChat.py
CHANGED
|
@@ -6,10 +6,10 @@ email = "[email protected]"
|
|
| 6 |
passwd = "IamstewpedW!23@"
|
| 7 |
# Log in to huggingface and grant authorization to huggingchat
|
| 8 |
sign = Login(email, passwd)
|
| 9 |
-
cookies = sign.login()
|
| 10 |
|
| 11 |
# # Save cookies to the local directory
|
| 12 |
-
cookie_path_dir = "./
|
| 13 |
sign.saveCookiesToDir(cookie_path_dir)
|
| 14 |
|
| 15 |
# Load cookies when you restart your program:
|
|
@@ -33,4 +33,4 @@ if not chatbot.active_model.name == "CohereForAI/c4ai-command-r-plus":
|
|
| 33 |
model_index = models.index(model)
|
| 34 |
chatbot.switch_llm(model_index)
|
| 35 |
break
|
| 36 |
-
print(chatbot.current_conversation.system_prompt)
|
|
|
|
| 6 |
passwd = "IamstewpedW!23@"
|
| 7 |
# Log in to huggingface and grant authorization to huggingchat
|
| 8 |
sign = Login(email, passwd)
|
| 9 |
+
# cookies = sign.login()
|
| 10 |
|
| 11 |
# # Save cookies to the local directory
|
| 12 |
+
cookie_path_dir = "./cookies"
|
| 13 |
sign.saveCookiesToDir(cookie_path_dir)
|
| 14 |
|
| 15 |
# Load cookies when you restart your program:
|
|
|
|
| 33 |
model_index = models.index(model)
|
| 34 |
chatbot.switch_llm(model_index)
|
| 35 |
break
|
| 36 |
+
# print(chatbot.current_conversation.system_prompt)
|