Linoy Tsaban commited on
Commit
cdc34af
1 Parent(s): b13a3d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -61,7 +61,6 @@ def get_example():
61
  'a man wearing a brown hoodie in a crowded street',
62
  'a robot wearing a brown hoodie in a crowded street',
63
  '+painting',
64
- '1'
65
  'examples/ddpm_a_robot_wearing_a_brown_hoodie_in_a_crowded_street.png',
66
  'examples/ddpm_sega_painting_of_a_robot_wearing_a_brown_hoodie_in_a_crowded_street.png'
67
  ],
@@ -70,7 +69,6 @@ def get_example():
70
  '',
71
  '',
72
  '+pink drawings of muffins',
73
- '1'
74
  'examples/ddpm_wall_with_framed_photos.png',
75
  'examples/ddpm_sega_plus_pink_drawings_of_muffins.png'
76
  ]]
@@ -236,7 +234,7 @@ with gr.Blocks() as demo:
236
  gr.Examples(
237
  label='Examples',
238
  examples=get_example(),
239
- inputs=[input_image, src_prompt, tar_prompt, edit_concept, warm_up, ddpm_edited_image, sega_edited_image],
240
  outputs=[ddpm_edited_image, sega_edited_image])
241
 
242
 
 
61
  'a man wearing a brown hoodie in a crowded street',
62
  'a robot wearing a brown hoodie in a crowded street',
63
  '+painting',
 
64
  'examples/ddpm_a_robot_wearing_a_brown_hoodie_in_a_crowded_street.png',
65
  'examples/ddpm_sega_painting_of_a_robot_wearing_a_brown_hoodie_in_a_crowded_street.png'
66
  ],
 
69
  '',
70
  '',
71
  '+pink drawings of muffins',
 
72
  'examples/ddpm_wall_with_framed_photos.png',
73
  'examples/ddpm_sega_plus_pink_drawings_of_muffins.png'
74
  ]]
 
234
  gr.Examples(
235
  label='Examples',
236
  examples=get_example(),
237
+ inputs=[input_image, src_prompt, tar_prompt, edit_concept, ddpm_edited_image, sega_edited_image],
238
  outputs=[ddpm_edited_image, sega_edited_image])
239
 
240