Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Dazan
/
test
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
10cfcd2
test
/
app.py
Dazan
Update app.py
10cfcd2
verified
4 months ago
raw
Copy download link
history
blame
Safe
179 Bytes
import
streamlit
as
st
from
transformers
import
pipeline
pipe = pipeline(
'text-generation'
')
text = st.text_area('
enter the text
')
if text:
out = pipe(text)
st.json(out)