GreenGoat commited on
Commit
1fbd787
·
verified ·
1 Parent(s): 7007011

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -409,16 +409,16 @@ def create_demo():
409
  example_prompts.click(lambda x: x[0], inputs=example_prompts, outputs=prompt, show_progress=False, queue=False)
410
 
411
  # Examples
412
- gr.Examples(
413
- examples=[
414
- ["examples/person1.jpg", "examples/bg1.jpg", "beautiful woman, cinematic lighting", "Use Background Image"],
415
- ["examples/person2.jpg", None, "handsome man, dramatic lighting", "Left Light"],
416
- ],
417
- inputs=[input_fg, input_bg, prompt, bg_source],
418
- outputs=[result_gallery],
419
- fn=process_relight,
420
- cache_examples=False,
421
- )
422
 
423
  return demo
424
 
 
409
  example_prompts.click(lambda x: x[0], inputs=example_prompts, outputs=prompt, show_progress=False, queue=False)
410
 
411
  # Examples
412
+ # gr.Examples(
413
+ # examples=[
414
+ # ["examples/person1.jpg", "examples/bg1.jpg", "beautiful woman, cinematic lighting", "Use Background Image"],
415
+ # ["examples/person2.jpg", None, "handsome man, dramatic lighting", "Left Light"],
416
+ # ],
417
+ # inputs=[input_fg, input_bg, prompt, bg_source],
418
+ # outputs=[result_gallery],
419
+ # fn=process_relight,
420
+ # cache_examples=False,
421
+ # )
422
 
423
  return demo
424