Mbonea commited on
Commit
74cf124
·
1 Parent(s): dacb538
Files changed (1) hide show
  1. App/Generate/utils/HuggingChat.py +3 -3
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 = "./cookies_snapshot"
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)