Spaces:
Sleeping
Sleeping
File size: 310 Bytes
ddfe9f1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import gradio as gr
from transformers import pipeline
pipe = pipeline("object-detection", model="Charles95/autotrain-detr-cppe-v5")
examples = [
["images/1.jpg"],
["images/2.jpg"],
["images/3.jpg"],
]
demo = gr.Interface.from_pipeline(pipe, examples=examples)
demo.launch(server_name="0.0.0.0") |