Spaces:
Runtime error
Runtime error
Updated from colab
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import torch
|
|
4 |
import matplotlib.pyplot as plt
|
5 |
|
6 |
|
7 |
-
|
8 |
model = AutoModelForImageClassification.from_pretrained("brendenc/my-segmentation-model")
|
9 |
|
10 |
def classify(im):
|
|
|
4 |
import matplotlib.pyplot as plt
|
5 |
|
6 |
|
7 |
+
extractor = AutoFeatureExtractor.from_pretrained("brendenc/my-segmentation-model")
|
8 |
model = AutoModelForImageClassification.from_pretrained("brendenc/my-segmentation-model")
|
9 |
|
10 |
def classify(im):
|