jdmartinev commited on
Commit
bacb60b
·
verified ·
1 Parent(s): e8b7738

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def classify_image(image):
13
  pred_class, pred_idx, outputs = learner.predict(img)
14
  return(f"Predicted class: {pred_class}")
15
 
16
- demo = gr.Interface(classify_image, gr.Image(shape=(224, 224)), "text")
17
  demo.launch(share=True)
18
 
19
 
 
13
  pred_class, pred_idx, outputs = learner.predict(img)
14
  return(f"Predicted class: {pred_class}")
15
 
16
+ demo = gr.Interface(classify_image, gr.Image(), "text")
17
  demo.launch(share=True)
18
 
19