phillipinseoul commited on
Commit
984b34e
·
1 Parent(s): 0d5c95e

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