Spaces:
Runtime error
Runtime error
Updates to app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ import gradio as gr
|
|
4 |
|
5 |
dataset = datasets.load_dataset("beans")
|
6 |
|
7 |
-
extractor = AutoFeatureExtractor.from_pretrained("
|
8 |
-
model = AutoModelForImageClassification.from_pretrained("
|
9 |
|
10 |
labels = dataset['train'].features['labels'].names
|
11 |
|
|
|
4 |
|
5 |
dataset = datasets.load_dataset("beans")
|
6 |
|
7 |
+
extractor = AutoFeatureExtractor.from_pretrained("saved_model_files")
|
8 |
+
model = AutoModelForImageClassification.from_pretrained("saved_model_files")
|
9 |
|
10 |
labels = dataset['train'].features['labels'].names
|
11 |
|