meeww commited on
Commit
cd2779f
·
1 Parent(s): f4bcea2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -59,16 +59,11 @@ def gen(seed):
59
  for i in range(4):
60
  img = Image.open(str(i)+".png")
61
  imgArr.append(img)
62
- img = Image.open("0.png")
63
- return img
64
 
65
  iface = gr.Interface(
66
  fn=gen,
67
  inputs=gr.Slider(0,1000,500,step = 0.01),
68
- outputs=gr.Image(label="Generated Skins",(shape=[64,64])),
69
- enable_queue = True,
70
- width = 64,
71
- height = 64,
72
-
73
  )
74
- iface.launch(share=True)
 
59
  for i in range(4):
60
  img = Image.open(str(i)+".png")
61
  imgArr.append(img)
62
+ return imgArr
 
63
 
64
  iface = gr.Interface(
65
  fn=gen,
66
  inputs=gr.Slider(0,1000,500,step = 0.01),
67
+ outputs=gr.Image(label="Generated Skins")
 
 
 
 
68
  )
69
+ iface.launch(share=True,enable_queue = True)