Abijith commited on
Commit
755f6da
1 Parent(s): 340b25b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -150,10 +150,11 @@ with gr.Blocks() as demo:
150
  image_input = gr.Image(label="[Stroke] Draw on Image", tool='sketch',type='pil')
151
  image_output1 = gr.Image(type="pil", label="Mask with Image")
152
  with gr.Row():
153
- examples = gr.Examples(examples=["./cardamage_example/0006.JPEG",
154
- "./cardamage_example/0008.JPEG",
155
- "./cardamage_example/0206.JPEG"],
156
- inputs=image_input)
 
157
  image_output2 = gr.Image(type="pil", label="Mask")
158
 
159
  image_button = gr.Button("Genarate-Segment-Mask", variant='primary')
 
150
  image_input = gr.Image(label="[Stroke] Draw on Image", tool='sketch',type='pil')
151
  image_output1 = gr.Image(type="pil", label="Mask with Image")
152
  with gr.Row():
153
+ # examples = gr.Examples(examples=["./cardamage_example/0006.JPEG",
154
+ # "./cardamage_example/0008.JPEG",
155
+ # "./cardamage_example/0206.JPEG"],
156
+ # inputs=image_input)
157
+ examples = gr.Examples(examples="./cardamage_example", inputs=image_input)
158
  image_output2 = gr.Image(type="pil", label="Mask")
159
 
160
  image_button = gr.Button("Genarate-Segment-Mask", variant='primary')