Spaces:
Runtime error
Runtime error
File size: 980 Bytes
837da99 f9db16c 3aeb1fa 837da99 2c1f123 8d08454 420f453 2c1f123 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# 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(),
|