CoolFace
Apppublic

omarhkh/Draft-Image-Classification

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes
app.py15 linesDownload Raw Back to root
1import gradio as gr2 3 4def greet(name):5    return "Start " + name + "!"6    7demo = gr.Interface(8    fn=greet,9    inputs=gr.Textbox(lines=2, placeholder="Name Here..."),10    outputs="text",11)12#demo.launch()13 14 15gr.Interface.load("models/omarhkh/resnet-50-finetuned-omar", title="This application classifies images into 3 Classes [Depth-Accepted: the image is accepted to Measure Trench Depth Quality] [Width-Accepted: the image is accepted to Measure Trench Width Quality] [Not-Accepted: the image is not accepted]").launch()