Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -272,8 +272,8 @@ with demo:
|
|
272 |
# gr.Markdown("### You could draw coarse masks on the background to indicate the desired location and shape.")
|
273 |
# gr.Markdown("### <u>Do not forget</u> to annotate the target object on the reference image.")
|
274 |
with gr.Row():
|
275 |
-
base = gr.Image(label="Arrière-plan", source="upload", tool="sketch", type="pil", height=512,
|
276 |
-
ref = gr.Image(label="Référence", source="upload", tool="sketch", type="pil", height=512,
|
277 |
with gr.Row():
|
278 |
with gr.Column():
|
279 |
gr.Examples(image_list, inputs=[base],label="Exemples - Image d'arrière-plan",examples_per_page=16)
|
|
|
272 |
# gr.Markdown("### You could draw coarse masks on the background to indicate the desired location and shape.")
|
273 |
# gr.Markdown("### <u>Do not forget</u> to annotate the target object on the reference image.")
|
274 |
with gr.Row():
|
275 |
+
base = gr.Image(label="Arrière-plan", source="upload", tool="sketch", type="pil", height=512, mask_opacity=0.5)
|
276 |
+
ref = gr.Image(label="Référence", source="upload", tool="sketch", type="pil", height=512, mask_opacity=0.5)
|
277 |
with gr.Row():
|
278 |
with gr.Column():
|
279 |
gr.Examples(image_list, inputs=[base],label="Exemples - Image d'arrière-plan",examples_per_page=16)
|