phillipinseoul commited on
Commit
0e7d013
1 Parent(s): 741cbd7

fix gallery

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -79,9 +79,9 @@ if __name__=="__main__":
79
  ],
80
  inputs=[prompt, width, sync_weight, sync_thres, seed],
81
  outputs=[
82
- [gr.Image(Image.open(join(os.path.dirname(__file__), "assets", "result_castle_seed_1.png")))],
83
- [gr.Image(Image.open(join(os.path.dirname(__file__), "assets", "result_natural_seed_2.png")))],
84
- [gr.Image(Image.open(join(os.path.dirname(__file__), "assets", "result_northern_seed_6.png")))],
85
  ]
86
  )
87
 
 
79
  ],
80
  inputs=[prompt, width, sync_weight, sync_thres, seed],
81
  outputs=[
82
+ [gr.Gallery(join(os.path.dirname(__file__), "assets", "result_castle_seed_1.png"))],
83
+ [gr.Gallery(join(os.path.dirname(__file__), "assets", "result_natural_seed_2.png"))],
84
+ [gr.Gallery(join(os.path.dirname(__file__), "assets", "result_northern_seed_6.png"))],
85
  ]
86
  )
87