Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -288,18 +288,7 @@ with gr.Blocks(
|
|
288 |
step=1,
|
289 |
info="-1 for random generation"
|
290 |
)
|
291 |
-
|
292 |
-
gr.Markdown("### 🖼️ Example Gallery", elem_classes=["example-title"])
|
293 |
-
example = gr.Examples(
|
294 |
-
examples=image_examples,
|
295 |
-
inputs=[
|
296 |
-
image_input, uploaded_mask
|
297 |
-
],
|
298 |
-
outputs=[inpaint_result, gallery],
|
299 |
-
examples_per_page=10,
|
300 |
-
label="Click any example to load",
|
301 |
-
elem_id="inline-examples"
|
302 |
-
)
|
303 |
|
304 |
with gr.Column(scale=1, variant="panel"):
|
305 |
gr.Markdown("## 📤 Output Panel")
|
@@ -320,7 +309,19 @@ with gr.Blocks(
|
|
320 |
height=450,
|
321 |
object_fit="contain"
|
322 |
)
|
323 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
324 |
run_button.click(
|
325 |
fn=infer,
|
326 |
inputs=[
|
|
|
288 |
step=1,
|
289 |
info="-1 for random generation"
|
290 |
)
|
291 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
292 |
|
293 |
with gr.Column(scale=1, variant="panel"):
|
294 |
gr.Markdown("## 📤 Output Panel")
|
|
|
309 |
height=450,
|
310 |
object_fit="contain"
|
311 |
)
|
312 |
+
with gr.Column(scale=1, variant="panel"):
|
313 |
+
with gr.Column(variant="panel"):
|
314 |
+
gr.Markdown("### 🖼️ Example Gallery", elem_classes=["example-title"])
|
315 |
+
example = gr.Examples(
|
316 |
+
examples=image_examples,
|
317 |
+
inputs=[
|
318 |
+
image_input, uploaded_mask
|
319 |
+
],
|
320 |
+
outputs=[inpaint_result, gallery],
|
321 |
+
examples_per_page=10,
|
322 |
+
label="Click any example to load",
|
323 |
+
elem_id="inline-examples"
|
324 |
+
)
|
325 |
run_button.click(
|
326 |
fn=infer,
|
327 |
inputs=[
|