salaz055 commited on
Commit
f7ebce1
·
1 Parent(s): d59f4ba

import torch

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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(share = True)
 
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()