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...
lewtun
HF Staff
commited on
Sep 12, 2022
Commit
64b8681
·
1 Parent(s):
b578184
Create new file
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -0,0 +1,5 @@
1
+
import gradio as gr
2
+
3
+
examples = [["My name is Lewis", "Nima is really cool at"]]
4
+
5
+
gr.Interface.load("huggingface/gpt2", examples=examples)