Spaces:
Build error
Build error
predict
Browse files- predict.py +0 -1
predict.py
CHANGED
|
@@ -11,7 +11,6 @@ def load_image_with_path(path):
|
|
| 11 |
return img
|
| 12 |
|
| 13 |
def makepredictions(path):
|
| 14 |
-
print(path)
|
| 15 |
img = load_image_with_path(path)
|
| 16 |
predictions = model_mri.predict(tf.expand_dims(img, axis=0))
|
| 17 |
a = int(tf.argmax(tf.squeeze(predictions)))
|
|
|
|
| 11 |
return img
|
| 12 |
|
| 13 |
def makepredictions(path):
|
|
|
|
| 14 |
img = load_image_with_path(path)
|
| 15 |
predictions = model_mri.predict(tf.expand_dims(img, axis=0))
|
| 16 |
a = int(tf.argmax(tf.squeeze(predictions)))
|