Spaces:
Sleeping
Sleeping
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 is to classify images into 3 Classes \n Depth-Accepted: the image is accepted to Measure Trench Depth Quality \n \n Width-Accepted: the image is accepted to Measure Trench Width Quality \n Not-Accepted: the image is not accepted").launch() |