Spaces:
Runtime error
Runtime error
Commit
·
026a519
1
Parent(s):
49361a7
updates files
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ import sys
|
|
| 9 |
print('Loading model...')
|
| 10 |
model = from_pretrained_keras("mostafapasha/ribs-segmentation-model", compile=False)
|
| 11 |
print('Successfully loaded model...')
|
| 12 |
-
examples = [['examples/
|
| 13 |
|
| 14 |
|
| 15 |
def infer(img, threshold):
|
|
|
|
| 9 |
print('Loading model...')
|
| 10 |
model = from_pretrained_keras("mostafapasha/ribs-segmentation-model", compile=False)
|
| 11 |
print('Successfully loaded model...')
|
| 12 |
+
examples = [['examples/VinDr_RibCXR_train_056.png', 0.2], ['examples/VinDr_RibCXR_train_179.png', 0.8]]
|
| 13 |
|
| 14 |
|
| 15 |
def infer(img, threshold):
|