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