Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ import getpass # Asegúrate de importar esta biblioteca para obtener la contras
|
|
| 18 |
# chatbot = hugchat.chatbot
|
| 19 |
|
| 20 |
def generate_response(prompt):
|
| 21 |
-
response = hugchat
|
| 22 |
#response = chatbot.chat(prompt)
|
| 23 |
return response
|
| 24 |
|
|
|
|
| 18 |
# chatbot = hugchat.chatbot
|
| 19 |
|
| 20 |
def generate_response(prompt):
|
| 21 |
+
response = hugchat(prompt)
|
| 22 |
#response = chatbot.chat(prompt)
|
| 23 |
return response
|
| 24 |
|