Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ default_image = cfg["cover_path"] if cfg.get("cover_path", None) and os.path.exi
|
|
174 |
with gr.Blocks(css=css,head=js,fill_height=True) as demo:
|
175 |
with gr.Row(equal_height=False):
|
176 |
with gr.Group():
|
177 |
-
result = gr.Gallery(value=cfg.get("cover_path",""),
|
178 |
label="Result", show_label=False, columns=1, rows=1, show_share_button=True,
|
179 |
show_download_button=True,allow_preview=True,interactive=False, min_width=cfg.get("window_min_width", 340)
|
180 |
)
|
|
|
174 |
with gr.Blocks(css=css,head=js,fill_height=True) as demo:
|
175 |
with gr.Row(equal_height=False):
|
176 |
with gr.Group():
|
177 |
+
result = gr.Gallery(value=[cfg.get("cover_path","")],
|
178 |
label="Result", show_label=False, columns=1, rows=1, show_share_button=True,
|
179 |
show_download_button=True,allow_preview=True,interactive=False, min_width=cfg.get("window_min_width", 340)
|
180 |
)
|