CosmoAI commited on
Commit
722bd72
·
1 Parent(s): de66a20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
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
- st.markdown(chatbot.chat(uinput))
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