tunglinwu commited on
Commit
2c34937
·
verified ·
1 Parent(s): 57b04fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ import gradio as gr
11
  learn = load_learner('model.pkl')
12
 
13
  # %% ../app.ipynb 18
14
- categories = ['Godzilla', 'King Ghidorah', 'Mothra', 'King Kong', 'Rodan']
15
  def classify_kaiju(img):
16
  pred,idx,probs=learn.predict(img)
17
  return dict(zip(categories, map(float,probs)))
 
11
  learn = load_learner('model.pkl')
12
 
13
  # %% ../app.ipynb 18
14
+ categories = ['Godzilla', 'King Ghidorah', 'King Kong', 'Mothra', 'Rodan']
15
  def classify_kaiju(img):
16
  pred,idx,probs=learn.predict(img)
17
  return dict(zip(categories, map(float,probs)))