olfp commited on
Commit
621de21
1 Parent(s): 60f11a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, 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)
 
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, brush_color='#008000', mask_opacity=0.5)
276
+ ref = gr.Image(label="Référence", source="upload", tool="sketch", type="pil", height=512, brush_color='#008000', 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)