Spaces:
Sleeping
Sleeping
starbotica
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -36,6 +36,6 @@ 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.inputs.Image(shape=(1024, 715))
|
39 |
-
salida = [gr.outputs.Label(num_top_classes=2),gr.outputs.Image()]
|
40 |
|
41 |
gr.Interface(fn=predict,inputs=entrada,outputs=salida,title=title,description=description,interpretation=interpretation,enable_queue=enable_queue).launch()
|
|
|
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.inputs.Image(shape=(1024, 715))
|
39 |
+
salida = [gr.outputs.Label(num_top_classes=2),gr.outputs.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()
|