Spaces:
Running
on
Zero
Running
on
Zero
ZeroGPU adaptation
#2
by
multimodalart
HF staff
- opened
- app.py +1 -1
- imgs/dummy.png +0 -3
app.py
CHANGED
@@ -416,7 +416,7 @@ with block:
|
|
416 |
with gr.Row():
|
417 |
dummy_image_for_outputs = gr.Image(visible=False, label='Result')
|
418 |
gr.Examples(
|
419 |
-
fn=lambda *args: [
|
420 |
examples=db_examples.foreground_conditioned_examples,
|
421 |
inputs=[
|
422 |
input_fg, prompt, bg_source, image_width, image_height, seed, dummy_image_for_outputs
|
|
|
416 |
with gr.Row():
|
417 |
dummy_image_for_outputs = gr.Image(visible=False, label='Result')
|
418 |
gr.Examples(
|
419 |
+
fn=lambda *args: ([args[-1]], None),
|
420 |
examples=db_examples.foreground_conditioned_examples,
|
421 |
inputs=[
|
422 |
input_fg, prompt, bg_source, image_width, image_height, seed, dummy_image_for_outputs
|
imgs/dummy.png
DELETED
Git LFS Details
|