phillipinseoul commited on
Commit
3d96f6c
1 Parent(s): 0e7d013

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.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
 
 
79
  ],
80
  inputs=[prompt, width, sync_weight, sync_thres, seed],
81
  outputs=[
82
+ [gr.Gallery(value=join(os.path.dirname(__file__), "assets", "result_castle_seed_1.png"), label='Output', show_label=False, elem_id="gallery").style(grid=2, height='auto')],
83
+ [gr.Gallery(value=join(os.path.dirname(__file__), "assets", "result_natural_seed_2.png"), label='Output', show_label=False, elem_id="gallery").style(grid=2, height='auto')],
84
+ [gr.Gallery(value=join(os.path.dirname(__file__), "assets", "result_northern_seed_6.png"), label='Output', show_label=False, elem_id="gallery").style(grid=2, height='auto')],
85
  ]
86
  )
87