Spaces:
Sleeping
Sleeping
Commit
·
98072dd
1
Parent(s):
42c1540
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import datasets
|
2 |
from datasets import load_dataset
|
3 |
import gradio as gr
|
|
|
4 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
5 |
|
6 |
dataset = load_dataset('beans') # This should be the same as the first line of Python code in this Colab notebook
|
|
|
1 |
import datasets
|
2 |
from datasets import load_dataset
|
3 |
import gradio as gr
|
4 |
+
import torch
|
5 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
6 |
|
7 |
dataset = load_dataset('beans') # This should be the same as the first line of Python code in this Colab notebook
|