Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ raw_text="The Indian Space Research Organisation or is the national space agency
|
|
| 10 |
text1= NER(raw_text)
|
| 11 |
|
| 12 |
for word in text1.ents:
|
| 13 |
-
raw_text = raw_text.replace(word,"<b style='color:orange'>" + word + "</b>")
|
| 14 |
raw_text = raw_replace("\n","<br>")
|
| 15 |
|
| 16 |
st.markdown(raw_text)
|
|
|
|
| 10 |
text1= NER(raw_text)
|
| 11 |
|
| 12 |
for word in text1.ents:
|
| 13 |
+
raw_text = raw_text.replace(word.text,"<b style='color:orange'>" + word + "</b>")
|
| 14 |
raw_text = raw_replace("\n","<br>")
|
| 15 |
|
| 16 |
st.markdown(raw_text)
|