starbotica commited on
Commit
b6fe5fc
·
verified ·
1 Parent(s): 5a42678

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -30,4 +30,8 @@ description = """
30
  interpretation='default'
31
  enable_queue=True
32
 
33
- 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()
 
 
 
 
 
30
  interpretation='default'
31
  enable_queue=True
32
 
33
+ #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()
34
+ entrada = gr.inputs.Image(shape=(744, 645))
35
+ salida = gr.outputs.Label(num_top_classes=2)
36
+
37
+ gr.Interface(fn=predict,inputs=entrada,outputs=salida,title=title,description=description,interpretation=interpretation,enable_queue=enable_queue).launch()