Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
geneweng
/
embedding
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
embedding
/
app.py
geneweng
Update app.py
dfe37f6
almost 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
166 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'ner'
)
text = st.text_area(
'Enter some question:'
)
if
text:
out = pipe(text)
st.json(out)