Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -140,13 +140,13 @@ with gr.Blocks(fill_width=True, head=js) as demo:
|
|
| 140 |
with gr.Column(scale=1):
|
| 141 |
with gr.Group():
|
| 142 |
with gr.Row():
|
| 143 |
-
output = [gr.Image(label=m, show_download_button=True,
|
| 144 |
interactive=False, width=112, height=112, show_share_button=False, format="png",
|
| 145 |
visible=True) for m in default_models]
|
| 146 |
-
current_models = [gr.Textbox(m, visible=
|
| 147 |
|
| 148 |
with gr.Column(scale=2):
|
| 149 |
-
gallery = gr.Gallery(label="Output", show_download_button=True, elem_classes="
|
| 150 |
interactive=False, show_share_button=False, container=True, format="png",
|
| 151 |
preview=True, object_fit="cover", columns=2, rows=2)
|
| 152 |
|
|
|
|
| 140 |
with gr.Column(scale=1):
|
| 141 |
with gr.Group():
|
| 142 |
with gr.Row():
|
| 143 |
+
output = [gr.Image(label=m, show_download_button=True,
|
| 144 |
interactive=False, width=112, height=112, show_share_button=False, format="png",
|
| 145 |
visible=True) for m in default_models]
|
| 146 |
+
current_models = [gr.Textbox(m, visible=False) for m in default_models]
|
| 147 |
|
| 148 |
with gr.Column(scale=2):
|
| 149 |
+
gallery = gr.Gallery(label="Output", show_download_button=True, elem_classes="TheGallery",
|
| 150 |
interactive=False, show_share_button=False, container=True, format="png",
|
| 151 |
preview=True, object_fit="cover", columns=2, rows=2)
|
| 152 |
|