inigo99 commited on
Commit
b7bc186
·
1 Parent(s): 6b7d63a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,5 +19,5 @@ def predict(img):
19
  return {pred_dict['img']}
20
 
21
  # Creamos la interfaz y la lanzamos.
22
- gr.Interface(fn=predict, inputs=gr.inputs.Image(), outputs=gr.outputs.Image(), examples=['00001.jpg','00002.jpg']).launch(share=False)
23
 
 
19
  return {pred_dict['img']}
20
 
21
  # Creamos la interfaz y la lanzamos.
22
+ gr.Interface(fn=predict, inputs=gr.inputs.Image(type='filepath'), outputs=gr.outputs.Image(type='pil'), examples=['00001.jpg','00002.jpg']).launch(share=False)
23