ZeroGPU adaptation

#2
by multimodalart HF staff - opened
Files changed (2) hide show
  1. app.py +1 -1
  2. 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: [[args[-1]], "imgs/dummy.png"],
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

  • SHA256: 71dd0caba59f35d103736f319c6ffe7cde9e9c847fe08c67343ee127e6a3618e
  • Pointer size: 128 Bytes
  • Size of remote file: 227 Bytes