Spaces:
Runtime error
Runtime error
# 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 = "<a href='https://github.com/Megvii-BaseDetection/YOLOX' target='_blank'><u>YOLOX </u></a>is an anchor-free version of YOLO, with a simpler design but better performance!<br><br><p style='text-align: center'>Untuk penjelasan lihat di <a href='https://github.com/sultanbst123/YOLOX-Demo' target='_blank'><u>repo ku </u>π</a></p>" | |
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(), | |