AndriiPets commited on
Commit
ac40642
·
1 Parent(s): f7dd102

let's deploy to huggingface spaces4

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -35,5 +35,4 @@ title = "Fruits and vegetables Classifier"
35
  examples = ['tomato.jpg', 'lemon.jpg', 'apple.jpg']
36
 
37
  interface = gr.Interface(fn=predict, inputs=image,
38
- outputs=label, examples=examples, title=title)
39
- interface.launch(inline=False)
 
35
  examples = ['tomato.jpg', 'lemon.jpg', 'apple.jpg']
36
 
37
  interface = gr.Interface(fn=predict, inputs=image,
38
+ outputs=label, examples=examples, title=title).launch()