Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -134,6 +134,9 @@ placeholder.info("processing text...")
|
|
134 |
|
135 |
result= get_pipeline(text)
|
136 |
|
|
|
|
|
|
|
137 |
#Displaying Ner Visualization
|
138 |
df= pd.DataFrame({"ner_chunk": result["ner_chunk"].iloc[0]})
|
139 |
|
@@ -148,4 +151,3 @@ labels = st.sidebar.multiselect(
|
|
148 |
|
149 |
show_html2(text, df, labels, "Text annotated with identified Named Entities")
|
150 |
|
151 |
-
#placeholder.empty()
|
|
|
134 |
|
135 |
result= get_pipeline(text)
|
136 |
|
137 |
+
placeholder.empty()
|
138 |
+
|
139 |
+
|
140 |
#Displaying Ner Visualization
|
141 |
df= pd.DataFrame({"ner_chunk": result["ner_chunk"].iloc[0]})
|
142 |
|
|
|
151 |
|
152 |
show_html2(text, df, labels, "Text annotated with identified Named Entities")
|
153 |
|
|