sujitb commited on
Commit
79855b8
1 Parent(s): 54faee4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -277,7 +277,8 @@ if QUESTION:
277
  if goodmatch:
278
  st.write('Resources:')
279
  st.write(top_2[0]['url'])
280
- st.write(top_2[1]['url'])
 
281
  # Add assistant response to chat history
282
  st.session_state.messages.append({"role": "assistant", "content": response})
283
  #st.write(ans)
 
277
  if goodmatch:
278
  st.write('Resources:')
279
  st.write(top_2[0]['url'])
280
+ if top_2[0]['url']!=top_2[1]['url']
281
+ st.write(top_2[1]['url'])
282
  # Add assistant response to chat history
283
  st.session_state.messages.append({"role": "assistant", "content": response})
284
  #st.write(ans)