Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
155 |
-
|
156 |
-
|
|
|
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')
|