Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
lewtun
/
inference-gradio-demo
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
64b8681
inference-gradio-demo
/
app.py
lewtun
HF Staff
Create new file
64b8681
over 3 years ago
raw
Copy download link
history
blame
Safe
138 Bytes
import
gradio
as
gr
examples = [[
"My name is Lewis"
,
"Nima is really cool at"
]]
gr.Interface.load(
"huggingface/gpt2"
, examples=examples)