starbotica commited on
Commit
adcd2fc
·
verified ·
1 Parent(s): ab43c3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()