Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from PIL import Image
|
|
10 |
app = FastAPI()
|
11 |
|
12 |
# Path to the trained model checkpoint
|
13 |
-
MODEL_PATH = "https://huggingface.co/yolac/BacterialMorphologyClassification/
|
14 |
|
15 |
# Load the pretrained MobileNetV2 model and modify the classifier
|
16 |
model = models.mobilenet_v2(weights=None) # No initial weights
|
|
|
10 |
app = FastAPI()
|
11 |
|
12 |
# Path to the trained model checkpoint
|
13 |
+
MODEL_PATH = "https://huggingface.co/yolac/BacterialMorphologyClassification/blob/main/BacterialMorphologyClassification_model.ipynb"
|
14 |
|
15 |
# Load the pretrained MobileNetV2 model and modify the classifier
|
16 |
model = models.mobilenet_v2(weights=None) # No initial weights
|