Spaces:
Sleeping
Sleeping
starbotica
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ interpretation='default'
|
|
35 |
enable_queue=True
|
36 |
|
37 |
#gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(744, 645)),outputs=gr.outputs.Label(num_top_classes=2),title=title,description=description,interpretation=interpretation,enable_queue=enable_queue).launch()
|
38 |
-
entrada = gr.
|
39 |
-
salida = [gr.
|
40 |
|
41 |
gr.Interface(fn=predict,inputs=entrada,outputs=salida,title=title,description=description,interpretation=interpretation,enable_queue=enable_queue).launch()
|
|
|
35 |
enable_queue=True
|
36 |
|
37 |
#gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(744, 645)),outputs=gr.outputs.Label(num_top_classes=2),title=title,description=description,interpretation=interpretation,enable_queue=enable_queue).launch()
|
38 |
+
entrada = gr.Image(shape=(1024, 715))
|
39 |
+
salida = [gr.Label(num_top_classes=2),gr.Image(type='pìl')]
|
40 |
|
41 |
gr.Interface(fn=predict,inputs=entrada,outputs=salida,title=title,description=description,interpretation=interpretation,enable_queue=enable_queue).launch()
|