Spaces:
Sleeping
Sleeping
hhhhhh0103
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -233,7 +233,7 @@ def predict(im1,im2):
|
|
233 |
examples = [
|
234 |
['./example/prostate_2d/image1.png', './example/prostate_2d/image2.png'],
|
235 |
['./example/cardiac_2d/image1.png', './example/cardiac_2d/image2.png'],
|
236 |
-
|
237 |
]
|
238 |
|
239 |
|
@@ -247,13 +247,13 @@ gradio_app = gr.Interface(
|
|
247 |
<strong>Register anything with ROI-based registration representation.</strong> <br>\
|
248 |
Choose an example below 🔥 🔥 🔥 <br>\
|
249 |
Or, upload by yourself: <br>\
|
250 |
-
1. Upload images to be
|
251 |
<br> \
|
252 |
π The correspondence representation is presented by multiple paired-ROIs in the same color. <br>\
|
253 |
π Examples below are all medical images for the algorithm proposed for medical registration initially. <br>\
|
254 |
π Current UI interface only unleashes a small part of the capabilities of SAMReg, i.e., 2D registration w 'embedding' mode. \
|
255 |
</p>",
|
256 |
-
cache_examples=
|
257 |
# allow_flagging="never",
|
258 |
)
|
259 |
|
|
|
233 |
examples = [
|
234 |
['./example/prostate_2d/image1.png', './example/prostate_2d/image2.png'],
|
235 |
['./example/cardiac_2d/image1.png', './example/cardiac_2d/image2.png'],
|
236 |
+
['./example/pathology/1B_B7_R.png', './example/pathology/1B_B7_T.png'],
|
237 |
]
|
238 |
|
239 |
|
|
|
247 |
<strong>Register anything with ROI-based registration representation.</strong> <br>\
|
248 |
Choose an example below 🔥 🔥 🔥 <br>\
|
249 |
Or, upload by yourself: <br>\
|
250 |
+
1. Upload images to be aligned to 'img1' and 'img2'. <br>\
|
251 |
<br> \
|
252 |
π The correspondence representation is presented by multiple paired-ROIs in the same color. <br>\
|
253 |
π Examples below are all medical images for the algorithm proposed for medical registration initially. <br>\
|
254 |
π Current UI interface only unleashes a small part of the capabilities of SAMReg, i.e., 2D registration w 'embedding' mode. \
|
255 |
</p>",
|
256 |
+
cache_examples=True,
|
257 |
# allow_flagging="never",
|
258 |
)
|
259 |
|