Spaces:
Sleeping
Sleeping
Commit
·
06c43f4
1
Parent(s):
eb0073f
Update app.py
Browse files
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.
|
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',
|