vishnun commited on
Commit
ac31c1d
·
1 Parent(s): a5975a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ if submit:
41
  st.markdown("### Edited sentence:")
42
  c_text = " "
43
  for x in out_text.split(" "):
44
- if x in input_text.split(" "):
45
  c_text = c_text + x + " "
46
  else:
47
  c_text = c_text + '<span style="font-weight:bold; color:rgb(0,255,0);">' + x + '</span>' + " "
 
41
  st.markdown("### Edited sentence:")
42
  c_text = " "
43
  for x in out_text.split(" "):
44
+ if x in input_text.lower().split(" "):
45
  c_text = c_text + x + " "
46
  else:
47
  c_text = c_text + '<span style="font-weight:bold; color:rgb(0,255,0);">' + x + '</span>' + " "