File size: 525 Bytes
644c29a
b41d696
644c29a
b32dfd6
135d0ba
b32dfd6
33da86c
 
 
 
 
29f48ec
b41d696
 
cb46512
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import gradio as gr


def greet(name):
    return "Start " + name + "!"
    
demo = gr.Interface(
    fn=greet,
    inputs=gr.Textbox(lines=2, placeholder="Name Here..."),
    outputs="text",
)
#demo.launch()


gr.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()