ysharma HF Staff commited on
Commit
db8489f
·
1 Parent(s): 0387ca0
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def predict(inputs, chatbot):
53
  for conv in chatbot:
54
  user = conv[0]
55
  messages.append({"role": "user", "content":user })
56
- if chatbot[0][-1] is None: #[["hi there'", None]]
57
  #chatbot=[]
58
  break
59
  assistant = conv[1]
 
53
  for conv in chatbot:
54
  user = conv[0]
55
  messages.append({"role": "user", "content":user })
56
+ if conv[1] is None: #[["hi there'", None]]
57
  #chatbot=[]
58
  break
59
  assistant = conv[1]