Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
app.py
CHANGED
@@ -40,10 +40,12 @@ class DreamFuseGUI:
|
|
40 |
self.examples = [
|
41 |
["./examples/9_02.png",
|
42 |
"./examples/9_01.png"],
|
43 |
-
["./examples/
|
44 |
-
"./examples/
|
45 |
["./examples/030_1.webp",
|
46 |
-
"./examples/030_0.webp"]
|
|
|
|
|
47 |
]
|
48 |
self.examples = [[Image.open(x) for x in example] for example in self.examples]
|
49 |
self.css_style = self._get_css_style()
|
@@ -481,13 +483,13 @@ class DreamFuseGUI:
|
|
481 |
with gr.Row():
|
482 |
with gr.Column(scale=1):
|
483 |
gr.Examples(
|
484 |
-
examples=[self.examples[
|
485 |
inputs=[background_img_in, draggable_img_in],
|
486 |
# elem_id="small-examples"
|
487 |
)
|
488 |
with gr.Column(scale=1):
|
489 |
gr.Examples(
|
490 |
-
examples=[self.examples[
|
491 |
inputs=[background_img_in, draggable_img_in],
|
492 |
# elem_id="small-examples"
|
493 |
)
|
|
|
40 |
self.examples = [
|
41 |
["./examples/9_02.png",
|
42 |
"./examples/9_01.png"],
|
43 |
+
["./examples/handheld_000_1.png",
|
44 |
+
"./examples/handheld_000_0.png"],
|
45 |
["./examples/030_1.webp",
|
46 |
+
"./examples/030_0.webp"],
|
47 |
+
["./examples/handheld_001_1.png",
|
48 |
+
"./examples/handheld_001_0.png"],
|
49 |
]
|
50 |
self.examples = [[Image.open(x) for x in example] for example in self.examples]
|
51 |
self.css_style = self._get_css_style()
|
|
|
483 |
with gr.Row():
|
484 |
with gr.Column(scale=1):
|
485 |
gr.Examples(
|
486 |
+
examples=[self.examples[1]],
|
487 |
inputs=[background_img_in, draggable_img_in],
|
488 |
# elem_id="small-examples"
|
489 |
)
|
490 |
with gr.Column(scale=1):
|
491 |
gr.Examples(
|
492 |
+
examples=[self.examples[3]],
|
493 |
inputs=[background_img_in, draggable_img_in],
|
494 |
# elem_id="small-examples"
|
495 |
)
|
examples/handheld_000_0.png
ADDED
![]() |
Git LFS Details
|
examples/handheld_000_1.png
ADDED
![]() |
Git LFS Details
|
examples/{handheld_0.png β handheld_001_0.png}
RENAMED
File without changes
|
examples/{handheld_1.png β handheld_001_1.png}
RENAMED
File without changes
|