Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import datasets
|
|
2 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
3 |
import numpy as np
|
4 |
import gradio as gr
|
|
|
5 |
|
6 |
dataset = load_dataset("beans") # This should be the same as the first line of Python code in this Colab notebook
|
7 |
|
|
|
2 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
3 |
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 |
|