shreejanbnmit commited on
Commit
c020b60
·
verified ·
1 Parent(s): d08f67f
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -329,16 +329,16 @@ with col1:
329
 
330
  # Display distinguishing factor
331
  if total_similarity >= 100:
332
- st.markdown(f'<div class="bad">BAD RESPONSE</div>', unsafe_allow_html=True)
333
  elif total_similarity >= 55:
334
  if context_words_diff >= 42 and context_words_diff < 57.08:
335
- st.markdown(f'<div class="bad">BAD RESPONSE</div>', unsafe_allow_html=True)
336
  elif context_words_diff > 35:
337
- st.markdown(f'<div class="good">GOOD RESPONSE</div>', unsafe_allow_html=True)
338
  else:
339
- st.markdown(f'<div class="bad">BAD RESPONSE</div>', unsafe_allow_html=True)
340
  else:
341
- st.markdown(f'<div class="bad">BAD RESPONSE</div>', unsafe_allow_html=True)
342
 
343
 
344
  with col2:
 
329
 
330
  # Display distinguishing factor
331
  if total_similarity >= 100:
332
+ st.markdown(f'<div class="bad">Similar Responses</div>', unsafe_allow_html=True)
333
  elif total_similarity >= 55:
334
  if context_words_diff >= 42 and context_words_diff < 57.08:
335
+ st.markdown(f'<div class="bad">Similar Responses</div>', unsafe_allow_html=True)
336
  elif context_words_diff > 35:
337
+ st.markdown(f'<div class="good">Response 2 is better.</div>', unsafe_allow_html=True)
338
  else:
339
+ st.markdown(f'<div class="bad">Similar Responses</div>', unsafe_allow_html=True)
340
  else:
341
+ st.markdown(f'<div class="bad">Similar Responses</div>', unsafe_allow_html=True)
342
 
343
 
344
  with col2: