arvindsharmaphd7 commited on
Commit
51440b1
1 Parent(s): 1b6a244

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,7 +11,7 @@ import gradio as gr
11
  from fastai.vision.all import *
12
  import skimage
13
 
14
- learn = load_learner('solar.pkl')
15
 
16
  labels = learn.dls.vocab
17
  def predict(img):
@@ -22,7 +22,7 @@ def predict(img):
22
  title = "Foof_type_classifier"
23
  description = "A food classifier trained on the food images dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
24
  article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
25
- examples = ['SolarPanel.jpg']
26
  interpretation='default'
27
  enable_queue=True
28
 
 
11
  from fastai.vision.all import *
12
  import skimage
13
 
14
+ learn = load_learner('export2.pkl')
15
 
16
  labels = learn.dls.vocab
17
  def predict(img):
 
22
  title = "Foof_type_classifier"
23
  description = "A food classifier trained on the food images dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
24
  article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
25
+ examples = ['Food.jpg']
26
  interpretation='default'
27
  enable_queue=True
28