Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import numpy as np
|
|
4 |
import gradio as gr
|
5 |
import torch
|
6 |
|
7 |
-
dataset = load_dataset("beans") # This should be the same as the first line of Python code in this Colab notebook
|
8 |
|
9 |
extractor = AutoFeatureExtractor.from_pretrained("andresgtn/vit-base-bean-health-classifier")
|
10 |
model = AutoModelForImageClassification.from_pretrained("andresgtn/vit-base-bean-health-classifier")
|
|
|
4 |
import gradio as gr
|
5 |
import torch
|
6 |
|
7 |
+
dataset = datasets.load_dataset("beans") # This should be the same as the first line of Python code in this Colab notebook
|
8 |
|
9 |
extractor = AutoFeatureExtractor.from_pretrained("andresgtn/vit-base-bean-health-classifier")
|
10 |
model = AutoModelForImageClassification.from_pretrained("andresgtn/vit-base-bean-health-classifier")
|