devdata commited on
Commit
d5f86e5
·
1 Parent(s): 638c2c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,6 +14,6 @@ examples = ['image1.jpg', 'image2.jpg']
14
  interpretation='default'
15
  enable_queue=True
16
 
17
- gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
18
- #gr.Interface(fn=predict,inputs=gr.components.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
19
 
 
14
  interpretation='default'
15
  enable_queue=True
16
 
17
+ #gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
18
+ gr.Interface(fn=predict,inputs=gr.components.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
19