agrimsomani commited on
Commit
9429e33
1 Parent(s): f52a4b5

added another category

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
 
4
  learner = load_learner('model.pkl')
5
 
6
- categories = ('code', 'graph', 'linked-list', 'math', 'table')
7
 
8
  def classify_img(img):
9
  pred, idx, probs = learner.predict(img)
 
3
 
4
  learner = load_learner('model.pkl')
5
 
6
+ categories = ('code', 'diagrams','graph', 'linked-list', 'math', 'table')
7
 
8
  def classify_img(img):
9
  pred, idx, probs = learner.predict(img)