Spaces:
Runtime error
Runtime error
Commit
·
ac40642
1
Parent(s):
f7dd102
let's deploy to huggingface spaces4
Browse files
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()
|
|