Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Wootang01
/
text_generator_eight
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
c72f3c5
text_generator_eight
/
app.py
Wootang01
Update app.py
c72f3c5
over 2 years ago
raw
Copy download link
history
blame
Safe
165 Bytes
import
gradio
as
gr
from
transformers
import
pipeline
pipe = pipeline(
"text-generation"
, model=
'EleutherAI/pythia-1.3b'
)
gr.Interface.from_pipeline(pipe).launch()