import json import gradio as gr import yolov5 from PIL import Image from huggingface_hub import hf_hub_download import os app_title = "Detect san pham VSK" model_ids = ['linhcuem/gold_yolov5m'] current_model_id = model_ids[-1] model = yolov5.load(current_model_id)