Spaces:
Runtime error
Runtime error
import torch
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import datasets
|
2 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
3 |
import gradio as gr
|
|
|
4 |
|
5 |
dataset = datasets.load_dataset('beans')
|
6 |
|
@@ -25,4 +26,4 @@ interface = gr.Interface(
|
|
25 |
description = "Many farming businesses are turning machine learning to monitor their crops automatically with great accuracy. This application can be used to detect Angular Leaf Spot and Bean Rust!"
|
26 |
)
|
27 |
|
28 |
-
interface.launch(
|
|
|
1 |
import datasets
|
2 |
from transformers import AutoFeatureExtractor, AutoModelForImageClassification
|
3 |
import gradio as gr
|
4 |
+
import torch
|
5 |
|
6 |
dataset = datasets.load_dataset('beans')
|
7 |
|
|
|
26 |
description = "Many farming businesses are turning machine learning to monitor their crops automatically with great accuracy. This application can be used to detect Angular Leaf Spot and Bean Rust!"
|
27 |
)
|
28 |
|
29 |
+
interface.launch()
|