Kelly Nicholes commited on
Commit
8f37a0a
·
1 Parent(s): a2d2025

Keep fumbling around

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,6 +11,6 @@ def predict(img):
11
  pred,pred_idx,probs = learn.predict(img)
12
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
13
 
14
- demo = gr.Interface(sepia, gr.Image(), "image")
15
  demo.launch()
16
  # gr.Interface(fn=predict, inputs=gr.Image(shape=(512, 512)), outputs=gr.Label(num_top_classes=3)).launch(share=True)
 
11
  pred,pred_idx,probs = learn.predict(img)
12
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
13
 
14
+ demo = gr.Interface(predict, gr.Image(), "image")
15
  demo.launch()
16
  # gr.Interface(fn=predict, inputs=gr.Image(shape=(512, 512)), outputs=gr.Label(num_top_classes=3)).launch(share=True)