Ankush05 commited on
Commit
d753517
·
1 Parent(s): 7fd1584

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ classifi = pipeline(model="facebook/bart-large-mnli")
16
  def chatbot():
17
  st.title("ChatBot")
18
  if message := st.chat_input("Enter your message"):
19
- ans = classifi(message, candidate_lables=["Reminder", "General Conversation"])
20
  umsg = bard.get_answer(message)["content"]
21
  with st.chat_message("assistant"):
22
  st.write(umsg)
 
16
  def chatbot():
17
  st.title("ChatBot")
18
  if message := st.chat_input("Enter your message"):
19
+ ans = classifi(message, candidate_labels=["Reminder", "General Conversation"])
20
  umsg = bard.get_answer(message)["content"]
21
  with st.chat_message("assistant"):
22
  st.write(umsg)