Noe831 commited on
Commit
bff4d56
·
1 Parent(s): 32862f1
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -11,6 +11,7 @@ def classify_image(img):
11
 
12
 
13
  examples = ['grizzly.jpg']
14
- enable_queue=True
15
 
16
- gr.Interface(fn=classify_image,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(),enable_queue=enable_queue).launch()
 
 
 
11
 
12
 
13
  examples = ['grizzly.jpg']
 
14
 
15
+ demo = gr.Interface(fn=classify_image,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label())
16
+ if __name__ == "__main__":
17
+ demo.launch()