Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
nateraw
/
stylegan3
like
29
Runtime error
App
Files
Files
Community
11dccd4
stylegan3
/
app.py
nateraw
Update app.py
519c85d
almost 3 years ago
raw
Copy download link
history
blame
224 Bytes
import
gradio
as
gr
import
torch
pipe = torch.hub.load(
'nateraw/image-generation:main'
,
'styleganv3'
, force_reload=
True
)
def
fn
(
text
):
return
text
iface = gr.Interface(fn, inputs=
'text'
, outputs=
'text'
)
iface.launch()