akhaliq HF Staff commited on
Commit
6fdbda8
·
1 Parent(s): b0b8fed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,4 +60,4 @@ title="DenseNet-121"
60
  description="DenseNet-121 is a convolutional neural network for classification."
61
 
62
  examples=[['apple.jpg']]
63
- gr.Interface(predict,gr.inputs.Image(type='pil'),"label",title=title,description=description,examples=examples).launch(enable_queue=True,debug=True)
 
60
  description="DenseNet-121 is a convolutional neural network for classification."
61
 
62
  examples=[['apple.jpg']]
63
+ gr.Interface(predict,gr.inputs.Image(type='filepath'),"label",title=title,description=description,examples=examples).launch(enable_queue=True,debug=True)