Logan Zoellner commited on
Commit
2faa06c
1 Parent(s): 1b381b5

got further than expected

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -10,7 +10,6 @@ import numpy as np
10
 
11
  def generate_image(seed,psi):
12
  iface = gr.Interface.load("spaces/hysts/StyleGAN-Human")
13
- print("about to die",iface,dir(iface))
14
  print(iface.blocks,iface.children,iface.fns)
15
  img=iface.fns[0].fn(seed,psi)
16
 
@@ -26,7 +25,7 @@ def generate_image(seed,psi):
26
 
27
  def generate_model(img):
28
  iface = gr.Interface.load("spaces/nagolinc/styleGanHuman_and_PIFu")
29
- model,file=iface(img)
30
  return model,file
31
 
32
 
 
10
 
11
  def generate_image(seed,psi):
12
  iface = gr.Interface.load("spaces/hysts/StyleGAN-Human")
 
13
  print(iface.blocks,iface.children,iface.fns)
14
  img=iface.fns[0].fn(seed,psi)
15
 
 
25
 
26
  def generate_model(img):
27
  iface = gr.Interface.load("spaces/nagolinc/styleGanHuman_and_PIFu")
28
+ model,file=iface.fns[0].fn(img)
29
  return model,file
30
 
31