saritha5 commited on
Commit
a58e647
·
1 Parent(s): 9828eb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)