marcossalinas commited on
Commit
06c43f4
·
1 Parent(s): eb0073f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ article = 'Demo del proyecto para Saturdays.\nAutores del modelo: [...] '
31
 
32
  interface = gr.Interface(
33
  predict,
34
- inputs = [gr.outputs.Image()],
35
  outputs= [gr.outputs.Label(num_top_classes=2, label='Retina')],
36
  title = title, description = description, article = article,
37
  theme = 'peach',
 
31
 
32
  interface = gr.Interface(
33
  predict,
34
+ inputs = [gr.inputs.Image(source="upload",type="filepath", label="Imagen")],
35
  outputs= [gr.outputs.Label(num_top_classes=2, label='Retina')],
36
  title = title, description = description, article = article,
37
  theme = 'peach',