Update app.py
Browse files
app.py
CHANGED
@@ -5,13 +5,13 @@ chatbot = hugchat.ChatBot(cookie_path="cookies.json")
|
|
5 |
with st.chat_message:
|
6 |
st.markdown(chatbot.chat("Hi"))
|
7 |
|
8 |
-
# Create a new conversation
|
9 |
-
id = chatbot.new_conversation()
|
10 |
-
chatbot.change_conversation(id)
|
11 |
|
12 |
-
# Get conversation list
|
13 |
-
conversation_list = chatbot.get_conversation_list()
|
14 |
-
uinput = st.chat_input("How can I help you?")
|
15 |
-
with st.chat_message:
|
16 |
-
|
17 |
|
|
|
5 |
with st.chat_message:
|
6 |
st.markdown(chatbot.chat("Hi"))
|
7 |
|
8 |
+
# # Create a new conversation
|
9 |
+
# id = chatbot.new_conversation()
|
10 |
+
# chatbot.change_conversation(id)
|
11 |
|
12 |
+
# # Get conversation list
|
13 |
+
# conversation_list = chatbot.get_conversation_list()
|
14 |
+
# uinput = st.chat_input("How can I help you?")
|
15 |
+
# with st.chat_message:
|
16 |
+
# st.markdown(chatbot.chat(uinput))
|
17 |
|