Spaces:
Runtime error
Runtime error
Logan Zoellner
commited on
Commit
•
92a257c
1
Parent(s):
ec635aa
maybe maybe baby
Browse files
app.py
CHANGED
@@ -8,11 +8,11 @@ def generate_image(seed,psi):
|
|
8 |
iface = gr.Interface.load("spaces/hysts/StyleGAN-Human")
|
9 |
print("about to die",iface,dir(iface))
|
10 |
print(iface.blocks,iface.children,iface.fns)
|
11 |
-
img=iface.fns[0](seed,psi)
|
12 |
return img
|
13 |
|
14 |
def generate_model(img):
|
15 |
-
|
16 |
model,file=iface(img)
|
17 |
return model,file
|
18 |
|
|
|
8 |
iface = gr.Interface.load("spaces/hysts/StyleGAN-Human")
|
9 |
print("about to die",iface,dir(iface))
|
10 |
print(iface.blocks,iface.children,iface.fns)
|
11 |
+
img=iface.fns[0].fn(seed,psi)
|
12 |
return img
|
13 |
|
14 |
def generate_model(img):
|
15 |
+
d
|
16 |
model,file=iface(img)
|
17 |
return model,file
|
18 |
|