Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Cherdid
/
demo-app
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
demo-app
/
app.py
Cherdid
Create app.py
7ce299a
verified
12 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
182 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe=pipeline(
'"aouatif_aicha_Bert_Darija"'
)
text=st.texty_area(
"enter le text!"
)
if
text:
out=pipe(text)
st.json(out)