Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
|
|
|
| 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):
|