pvanand commited on
Commit
02041d0
·
verified ·
1 Parent(s): e2e0c74

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ if user_input := st.chat_input("What is up?"):
33
  if bot_reply !=[]:
34
  assistant_response = ""
35
  if len(bot_reply)>1:
36
- for reply in bot_reply:
37
  assistant_response+=(" "+reply['text'])
38
  else:
39
  assistant_response = bot_reply[0]['text']
 
33
  if bot_reply !=[]:
34
  assistant_response = ""
35
  if len(bot_reply)>1:
36
+ for reply in bot_reply[1:]:
37
  assistant_response+=(" "+reply['text'])
38
  else:
39
  assistant_response = bot_reply[0]['text']