Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
nateraw
/
stylegan3
like
29
Runtime error
App
Files
Files
Community
nateraw
commited on
Nov 29, 2021
Commit
519c85d
•
1 Parent(s):
2d53efa
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+3
-0
app.py
CHANGED
Viewed
@@ -1,4 +1,7 @@
1
import gradio as gr
2
3
def fn(text):
4
return text
1
import gradio as gr
2
+
import torch
3
+
4
+
pipe = torch.hub.load('nateraw/image-generation:main', 'styleganv3', force_reload=True)
5
6
def fn(text):
7
return text