RubenAMtz commited on
Commit
1688c90
1 Parent(s): 0c9c281

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from fastai.vision.all import *
3
 
4
  learn = load_learner('export.pkl')
5
- categories = ('pristine', 'damaged')
6
 
7
  def predict(img):
8
  pred, idx, probs = learn.predict(img)
 
2
  from fastai.vision.all import *
3
 
4
  learn = load_learner('export.pkl')
5
+ categories = ('damaged', 'pristine')
6
 
7
  def predict(img):
8
  pred, idx, probs = learn.predict(img)