Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,9 +43,9 @@ if submit:
|
|
43 |
c_text = " "
|
44 |
for x in out_text.split(" "):
|
45 |
if x in input_text.split(" "):
|
46 |
-
c_text = c_text + x + ""
|
47 |
else:
|
48 |
-
c_text = c_text + '<p style="color:rgb(0,255,0);">' + x + '</p>' + ""
|
49 |
|
50 |
st.write(c_text)
|
51 |
st.markdown(c_text, unsafe_allow_html=True)
|
|
|
43 |
c_text = " "
|
44 |
for x in out_text.split(" "):
|
45 |
if x in input_text.split(" "):
|
46 |
+
c_text = c_text + '<p>' + x + '</p>' + " "
|
47 |
else:
|
48 |
+
c_text = c_text + '<p style="color:rgb(0,255,0);">' + x + '</p>' + " "
|
49 |
|
50 |
st.write(c_text)
|
51 |
st.markdown(c_text, unsafe_allow_html=True)
|