veronhii commited on
Commit
1d46b93
·
1 Parent(s): ae16aa7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,5 +31,5 @@ def predict_top_classes(img, num_top_classes=5):
31
 
32
  model = tf.keras.models.load_model("Xception.h5")
33
 
34
- interface = gr.Interface(predict_top_classes, gr.inputs.Image(type='pil'), outputs='dictionary', args={'num_top_classes': 5})
35
  interface.launch()
 
31
 
32
  model = tf.keras.models.load_model("Xception.h5")
33
 
34
+ interface = gr.Interface(predict_top_classes, gr.inputs.Image(type='pil'), outputs='json', args={'num_top_classes': 5})
35
  interface.launch()