linhcuem commited on
Commit
e70ee4e
1 Parent(s): 987831a

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import gradio as gr
3
+ import yolov5
4
+ from PIL import Image
5
+ from huggingface_hub import hf_hub_download
6
+ import os
7
+
8
+
9
+ app_title = "Detect san pham VSK"
10
+ model_ids = ['linhcuem/gold_yolov5m']
11
+
12
+ current_model_id = model_ids[-1]
13
+ model = yolov5.load(current_model_id)
14
+