Update app.py
Browse files
app.py
CHANGED
|
@@ -54,8 +54,8 @@ import time
|
|
| 54 |
chatbot = hugchat.ChatBot(cookie_path="cookies.json")
|
| 55 |
|
| 56 |
# New a conversation (ignore error)
|
| 57 |
-
|
| 58 |
-
|
| 59 |
|
| 60 |
|
| 61 |
def get_answer(data):
|
|
|
|
| 54 |
chatbot = hugchat.ChatBot(cookie_path="cookies.json")
|
| 55 |
|
| 56 |
# New a conversation (ignore error)
|
| 57 |
+
id = chatbot.new_conversation()
|
| 58 |
+
chatbot.change_conversation(id)
|
| 59 |
|
| 60 |
|
| 61 |
def get_answer(data):
|