Spaces:
Runtime error
Runtime error
Commit ·
76a4453
1
Parent(s): d303376
let's deploy to huggingface spaces
Browse files30 unmodified lines313233343536373830 unmodified linesimage = gr.inputs.Image(shape=(192, 192))label = gr.outputs.Label()examples = ['tomato.jpg', 'lemon.jpg', 'apple.jpg']interface = gr.Interface(fn=predict, inputs=image,outputs=label, examples=examples)interface.launch(inline=False)30 unmodified lines31323334353637383930 unmodified linesimage = gr.inputs.Image(shape=(192, 192))label = gr.outputs.Label()title = "Fruits and vegetables Classifier"examples = ['tomato.jpg', 'lemon.jpg', 'apple.jpg']interface = gr.Interface(fn=predict, inputs=image,outputs=label, examples=examples, title=title)interface.launch(inline=False)
app.py+2-1