Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
satpalsr
/
gpt2test
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
satpalsr
commited on
Apr 2, 2023
Commit
d3a0616
·
1 Parent(s):
f77c85a
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+1
-1
app.py
CHANGED
Viewed
@@ -1,4 +1,4 @@
1
import gradio as gr
2
3
-
iface = gr.Interface.load(
src
="gpt2",
inputs
="
text
"
, outputs="text"
)
4
iface.launch()
1
import gradio as gr
2
3
+
iface = gr.Interface.load(
name
="gpt2",
source
="
models
")
4
iface.launch()