menorki commited on
Commit
2c15d46
·
1 Parent(s): 1390e1f
Files changed (1) hide show
  1. app.py +5 -4
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'{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=800,
98
  height=600)
99
 
100
- # print(BASE_DIR+'assets/images/before-after/moulin-insitu-1-_1610534-BEFORE.jpg')
 
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",