Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -88,16 +88,17 @@ with gr.Blocks(analytics_enabled=False , head=head , css=css, theme="bethecloud/
|
|
88 |
|
89 |
with gr.Tab("Avant/Après"):
|
90 |
|
91 |
-
aa_1 = ImageSlider(value=(f
|
92 |
-
f
|
93 |
label="Vue de la route",
|
94 |
type="filepath",
|
95 |
slider_color="red",
|
96 |
interactive=False,
|
97 |
-
width=
|
98 |
height=600)
|
99 |
|
100 |
-
|
|
|
101 |
|
102 |
with gr.Tab("Images"):
|
103 |
image_viewer = gr.Gallery(label="Generated images",
|
|
|
88 |
|
89 |
with gr.Tab("Avant/Après"):
|
90 |
|
91 |
+
aa_1 = ImageSlider(value=(f"{BASE_URL}assets/images/before-after/moulin-insitu-1-_1610534-BEFORE.jpg",
|
92 |
+
f"{BASE_URL}assets/images/before-after/moulin-insitu-1-_1610534-AFTER.jpg") ,
|
93 |
label="Vue de la route",
|
94 |
type="filepath",
|
95 |
slider_color="red",
|
96 |
interactive=False,
|
97 |
+
width=400,
|
98 |
height=600)
|
99 |
|
100 |
+
print(f'{BASE_URL}assets/images/before-after/moulin-insitu-1-_1610534-BEFORE.jpg')
|
101 |
+
print(f'{BASE_URL}assets/images/before-after/moulin-insitu-1-_1610534-AFTER.jpg')
|
102 |
|
103 |
with gr.Tab("Images"):
|
104 |
image_viewer = gr.Gallery(label="Generated images",
|