german354a commited on
Commit
b8257d0
·
verified ·
1 Parent(s): e088308

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -15,10 +15,11 @@ import getpass # Asegúrate de importar esta biblioteca para obtener la contras
15
  #sign.saveCookiesToDir(cookie_path_dir)
16
 
17
  # Create a ChatBot instance with cookies
18
- chatbot = hugchat.chatbot
19
 
20
  def generate_response(prompt):
21
- response = chatbot.chat(prompt)
 
22
  return response
23
 
24
  def hugchat_app(prompt):
 
15
  #sign.saveCookiesToDir(cookie_path_dir)
16
 
17
  # Create a ChatBot instance with cookies
18
+ # chatbot = hugchat.chatbot
19
 
20
  def generate_response(prompt):
21
+ response = hugchat.chat(prompt)
22
+ #response = chatbot.chat(prompt)
23
  return response
24
 
25
  def hugchat_app(prompt):