Spaces:
Runtime error
Runtime error
123
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
st.markdown("### Hello, world!")
|
4 |
st.markdown("<img width=200px src='https://rozetked.me/images/uploads/dwoilp3BVjlE.jpg'>", unsafe_allow_html=True)
|
5 |
|
6 |
text = st.text_area("TEXT HERE")
|
7 |
|
8 |
-
from transformers import pipeline
|
9 |
pipe = pipeline("ner", "Davlan/distilbert-base-multilingual-cased-ner-hrl")
|
10 |
raw_predictions = pipe(text)
|
11 |
|
|
|
1 |
import streamlit as st
|
2 |
+
from transformers import pipeline
|
3 |
|
4 |
st.markdown("### Hello, world!")
|
5 |
st.markdown("<img width=200px src='https://rozetked.me/images/uploads/dwoilp3BVjlE.jpg'>", unsafe_allow_html=True)
|
6 |
|
7 |
text = st.text_area("TEXT HERE")
|
8 |
|
|
|
9 |
pipe = pipeline("ner", "Davlan/distilbert-base-multilingual-cased-ner-hrl")
|
10 |
raw_predictions = pipe(text)
|
11 |
|