Nikhil0987 commited on
Commit
89db8ee
1 Parent(s): 907ef02

Update convo.py

Browse files
Files changed (1) hide show
  1. convo.py +2 -2
convo.py CHANGED
@@ -7,14 +7,14 @@ chatbot = pipeline(task="conversational", model="microsoft/DialoGPT-medium")
7
  def Convo():
8
  if convo := st.chat_input("Enter your message")
9
 
10
- conversation = Conversation(convo)
11
 
12
 
13
 
14
  # candidate_labels = ["HELP", "PROBLEM SOLVE", "GENERAL TALK"]
15
 
16
 
17
- ans = chatbot(conversation)
18
  # add_user_input = st.button("Add User Input")
19
 
20
  # conversation.add_user_input("{}".format(convo))
 
7
  def Convo():
8
  if convo := st.chat_input("Enter your message")
9
 
10
+ conversation = Conversation(convo)
11
 
12
 
13
 
14
  # candidate_labels = ["HELP", "PROBLEM SOLVE", "GENERAL TALK"]
15
 
16
 
17
+ ans = chatbot(conversation)
18
  # add_user_input = st.button("Add User Input")
19
 
20
  # conversation.add_user_input("{}".format(convo))