Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ayaanzaveri
/
gpt2-api
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
ayaanzaveri
commited on
Nov 21, 2022
Commit
beb95dc
·
1 Parent(s):
4b5dc84
Upload app.py
Browse files
Files changed (1)
hide
show
app.py
+4
-0
app.py
ADDED
Viewed
@@ -0,0 +1,4 @@
1
+
import gradio as gr
2
+
name_list = ['models/gpt2']
3
+
interfaces = [gr.Interface.load(name) for name in name_list]
4
+
gr.mix.Parallel(*interfaces, title="GPT-2", description="gpt2 demo").launch()