Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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>' + " "
|