Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -120,8 +120,12 @@ def main():
|
|
120 |
|
121 |
with c1:
|
122 |
st.markdown("#### Words identified as complex")
|
123 |
-
|
124 |
-
|
|
|
|
|
|
|
|
|
125 |
|
126 |
with c2:
|
127 |
st.markdown(f"#### Original Sentence:\n > {input_sentence}")
|
|
|
120 |
|
121 |
with c1:
|
122 |
st.markdown("#### Words identified as complex")
|
123 |
+
if words:
|
124 |
+
for w in words:
|
125 |
+
st.markdown(f"* {w}")
|
126 |
+
|
127 |
+
else:
|
128 |
+
st.markdown("None :smile:")
|
129 |
|
130 |
with c2:
|
131 |
st.markdown(f"#### Original Sentence:\n > {input_sentence}")
|