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

Update app.py

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