# fork of my space # add feature webcam(rear camera) import gradio as gr choices = ["YOLOXNano", "YOLOXTiny", "YOLOXS", "YOLOXM", "YOLOXL", "YOLOXX"] description = "Demo for YOLOX(Object Detection). Models are YOLOXNano - YOLOXX,with rear camera. Find original repo at https://huggingface.co/spaces/Sultannn/YOLOX-Demo" article = "YOLOX is an anchor-free version of YOLO, with a simpler design but better performance!

Untuk penjelasan lihat di repo ku 😁

" gr.Interface.load( "spaces/Sultannn/YOLOX-Demo", inputs=[ gr.inputs.Image(label="Input Image", source="webcam"), gr.inputs.Dropdown(choices= choices, type="value", default='YOLOXS', label="Model") ], article = article, description = description, theme = "default", ).launch(),