Update model/model.py
Browse files- model/model.py +1 -1
model/model.py
CHANGED
|
@@ -4,7 +4,7 @@ import numpy as np
|
|
| 4 |
import os
|
| 5 |
import tensorflow as tf
|
| 6 |
|
| 7 |
-
model = keras.saving.load_model(
|
| 8 |
|
| 9 |
def predict(image_path):
|
| 10 |
image = Image.fromarray(image_path)
|
|
|
|
| 4 |
import os
|
| 5 |
import tensorflow as tf
|
| 6 |
|
| 7 |
+
model = keras.saving.load_model("hf://sensei-ml/Brain_Tumors_Classificator_CNN_Keras_Model")
|
| 8 |
|
| 9 |
def predict(image_path):
|
| 10 |
image = Image.fromarray(image_path)
|