Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
dd85adc
1
Parent(s):
93e1172
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,8 @@ def get_example():
|
|
60 |
'examples/source_a_man_wearing_a_brown_hoodie_in_a_crowded_street.jpeg',
|
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 |
]]
|
@@ -226,7 +227,7 @@ with gr.Blocks() as demo:
|
|
226 |
gr.Examples(
|
227 |
label='Examples',
|
228 |
examples=get_example(),
|
229 |
-
inputs=[input_image, src_prompt, tar_prompt, edit_concept, ddpm_edited_image, sega_edited_image],
|
230 |
outputs=[ddpm_edited_image, sega_edited_image])
|
231 |
|
232 |
|
|
|
60 |
'examples/source_a_man_wearing_a_brown_hoodie_in_a_crowded_street.jpeg',
|
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 |
]]
|
|
|
227 |
gr.Examples(
|
228 |
label='Examples',
|
229 |
examples=get_example(),
|
230 |
+
inputs=[input_image, src_prompt, tar_prompt, edit_concept, warm_up, ddpm_edited_image, sega_edited_image],
|
231 |
outputs=[ddpm_edited_image, sega_edited_image])
|
232 |
|
233 |
|