import gradio as gr from ObjectDetector import Detector detector = Detector() iface = gr.Interface(detector.detectObject, gr.inputs.Image(), "image", title="Object Detection API", article="""Object detection is a computer vision technique that allows us to identify and locate objects in an image or video. With this kind of identification and localization, object detection can be used to count objects in a scene and determine and track their precise locations, all while accurately labeling them.
Github Link

""", css=""" body { background-color: #f4e1e6; text-align: center; font-size: 16px; } a { color: #096ac5; } a:hover { color: #096ac5; }""" ) iface.launch()