Update app.py
Browse files
app.py
CHANGED
@@ -13,5 +13,5 @@ text_input = st.text_input("Enter some text:")
|
|
13 |
# Run NER on user input
|
14 |
if text_input:
|
15 |
results = ner_model(text_input)
|
16 |
-
for result in results
|
17 |
st.write(f"{result['word']}: {result['entity']}")
|
|
|
13 |
# Run NER on user input
|
14 |
if text_input:
|
15 |
results = ner_model(text_input)
|
16 |
+
for result in results:
|
17 |
st.write(f"{result['word']}: {result['entity']}")
|