Commit
·
0d5c95e
1
Parent(s):
806edf8
fix gallery
Browse files
app.py
CHANGED
@@ -79,9 +79,12 @@ if __name__=="__main__":
|
|
79 |
],
|
80 |
inputs=[prompt, width, sync_weight, sync_thres, seed],
|
81 |
outputs=[
|
82 |
-
[gr.Gallery(
|
83 |
-
[gr.Gallery(
|
84 |
-
[gr.Gallery(
|
|
|
|
|
|
|
85 |
]
|
86 |
)
|
87 |
|
|
|
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')],
|
88 |
]
|
89 |
)
|
90 |
|