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

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