meeww commited on
Commit
e9f39ad
·
1 Parent(s): 6f8a598

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -52,14 +52,17 @@ init()
52
  def gen():
53
  init()
54
  crop()
55
- img = Image.open("0.png")
56
-
57
- return img
 
 
 
58
 
59
  iface = gr.Interface(
60
  fn=gen,
61
  inputs=None,
62
- outputs="image",
63
  theme="darkhuggingface"
64
  )
65
  iface.launch(debug = True,inline = True,width = 256,height = 256,favicon_path="icon.png")
 
52
  def gen():
53
  init()
54
  crop()
55
+ img0 = Image.open("0.png")
56
+ img1 = Image.open("1.png")
57
+ img2 = Image.open("2.png")
58
+ img3 = Image.open("3.png")
59
+
60
+ return img0, img1, img2, img3
61
 
62
  iface = gr.Interface(
63
  fn=gen,
64
  inputs=None,
65
+ outputs="image","image","image","image",
66
  theme="darkhuggingface"
67
  )
68
  iface.launch(debug = True,inline = True,width = 256,height = 256,favicon_path="icon.png")