Spaces:
Runtime error
Runtime error
Linoy Tsaban
commited on
Commit
·
652f06c
1
Parent(s):
28de96f
Update app.py
Browse filesexample #3 + change to advance options layout
app.py
CHANGED
|
@@ -71,6 +71,14 @@ def get_example():
|
|
| 71 |
'+pink drawings of muffins',
|
| 72 |
'examples/ddpm_wall_with_framed_photos.png',
|
| 73 |
'examples/ddpm_sega_plus_pink_drawings_of_muffins.png'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
]]
|
| 75 |
return case
|
| 76 |
|
|
@@ -204,7 +212,6 @@ with gr.Blocks() as demo:
|
|
| 204 |
with gr.Column():
|
| 205 |
left = gr.Number(value=0, precision=0, label="Left Shift", interactive=True)
|
| 206 |
right = gr.Number(value=0, precision=0, label="Right Shift", interactive=True)
|
| 207 |
-
with gr.Column():
|
| 208 |
top = gr.Number(value=0, precision=0, label="Top Shift", interactive=True)
|
| 209 |
bottom = gr.Number(value=0, precision=0, label="Bottom Shift", interactive=True)
|
| 210 |
|
|
|
|
| 71 |
'+pink drawings of muffins',
|
| 72 |
'examples/ddpm_wall_with_framed_photos.png',
|
| 73 |
'examples/ddpm_sega_plus_pink_drawings_of_muffins.png'
|
| 74 |
+
],
|
| 75 |
+
[
|
| 76 |
+
'examples/source_an_empty room_with_concrete_walls.jpeg',
|
| 77 |
+
'an empty room with concrete walls',
|
| 78 |
+
'glass walls',
|
| 79 |
+
'+giant elephant',
|
| 80 |
+
'examples/ddpm_glass_walls.png',
|
| 81 |
+
'examples/ddpm_sega_glass_walls_gian_elephant.png'
|
| 82 |
]]
|
| 83 |
return case
|
| 84 |
|
|
|
|
| 212 |
with gr.Column():
|
| 213 |
left = gr.Number(value=0, precision=0, label="Left Shift", interactive=True)
|
| 214 |
right = gr.Number(value=0, precision=0, label="Right Shift", interactive=True)
|
|
|
|
| 215 |
top = gr.Number(value=0, precision=0, label="Top Shift", interactive=True)
|
| 216 |
bottom = gr.Number(value=0, precision=0, label="Bottom Shift", interactive=True)
|
| 217 |
|