Spaces:
Runtime error
Runtime error
update examples
Browse files
app.py
CHANGED
@@ -330,8 +330,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
330 |
annotated_image = gr.AnnotatedImage(label="Output")
|
331 |
|
332 |
seg_btn = gr.Button("Submit")
|
333 |
-
examples = [
|
334 |
-
["./examples/cnmc1.bmp", "segment cancerous cells"],
|
335 |
["./examples/cnmc1.bmp", "segment healthy cells"],
|
336 |
["./examples/cnmc1.bmp", "detect cancerous cells"],
|
337 |
["./examples/cnmc1.bmp", "detect healthy cells"],
|
@@ -376,8 +375,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
376 |
["./examples/cart2.jpg", "segment cells"],
|
377 |
["./examples/cart2.jpg", "detect cells"],
|
378 |
["./examples/cart3.jpg", "segment cells"],
|
379 |
-
["./examples/cart3.jpg", "detect cells"]
|
380 |
-
]
|
381 |
gr.Examples(
|
382 |
examples=examples,
|
383 |
inputs=[image, seg_input],
|
@@ -425,8 +423,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
425 |
outputs=chat_outputs,
|
426 |
)
|
427 |
|
428 |
-
examples = [
|
429 |
-
["./examples/cnmc1.bmp", IMAGE_PROMPT],
|
430 |
["./examples/cnmc2.bmp", IMAGE_PROMPT],
|
431 |
["./examples/cnmc3.bmp", IMAGE_PROMPT],
|
432 |
["./examples/cnmc4.bmp", IMAGE_PROMPT],
|
@@ -438,8 +435,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
438 |
["./examples/cnmc10.bmp", IMAGE_PROMPT],
|
439 |
["./examples/cart1.jpg", IMAGE_PROMPT],
|
440 |
["./examples/cart2.jpg", IMAGE_PROMPT],
|
441 |
-
["./examples/cart3.jpg", IMAGE_PROMPT]
|
442 |
-
]
|
443 |
gr.Examples(
|
444 |
examples=examples,
|
445 |
inputs=chat_inputs,
|
|
|
330 |
annotated_image = gr.AnnotatedImage(label="Output")
|
331 |
|
332 |
seg_btn = gr.Button("Submit")
|
333 |
+
examples = [["./examples/cnmc1.bmp", "segment cancerous cells"],
|
|
|
334 |
["./examples/cnmc1.bmp", "segment healthy cells"],
|
335 |
["./examples/cnmc1.bmp", "detect cancerous cells"],
|
336 |
["./examples/cnmc1.bmp", "detect healthy cells"],
|
|
|
375 |
["./examples/cart2.jpg", "segment cells"],
|
376 |
["./examples/cart2.jpg", "detect cells"],
|
377 |
["./examples/cart3.jpg", "segment cells"],
|
378 |
+
["./examples/cart3.jpg", "detect cells"]]
|
|
|
379 |
gr.Examples(
|
380 |
examples=examples,
|
381 |
inputs=[image, seg_input],
|
|
|
423 |
outputs=chat_outputs,
|
424 |
)
|
425 |
|
426 |
+
examples = [["./examples/cnmc1.bmp", IMAGE_PROMPT],
|
|
|
427 |
["./examples/cnmc2.bmp", IMAGE_PROMPT],
|
428 |
["./examples/cnmc3.bmp", IMAGE_PROMPT],
|
429 |
["./examples/cnmc4.bmp", IMAGE_PROMPT],
|
|
|
435 |
["./examples/cnmc10.bmp", IMAGE_PROMPT],
|
436 |
["./examples/cart1.jpg", IMAGE_PROMPT],
|
437 |
["./examples/cart2.jpg", IMAGE_PROMPT],
|
438 |
+
["./examples/cart3.jpg", IMAGE_PROMPT]]
|
|
|
439 |
gr.Examples(
|
440 |
examples=examples,
|
441 |
inputs=chat_inputs,
|
examples/cnmc_test_images.csv → cnmc_test_images.csv
RENAMED
File without changes
|