sino72 commited on
Commit
582e4c7
1 Parent(s): d2f4d51

Upload custom model trained for person-detection

Browse files
Files changed (3) hide show
  1. app.py +3 -2
  2. custom_model.pt +3 -0
  3. model_list.txt +2 -1
app.py CHANGED
@@ -198,7 +198,7 @@ with gr.Blocks() as demo:
198
  total_visible = gr.Checkbox(label="显示人流量")
199
  with gr.Row():
200
  with gr.Column():
201
- figure_number_output = gr.Plot(label="人流量")
202
  with gr.Tab("图像增强"):
203
  with gr.Row():
204
  with gr.Column():
@@ -238,4 +238,5 @@ with gr.Blocks() as demo:
238
  total_visible.change(change_total_visible,total_visible, figure_number_output )
239
 
240
  demo.queue()#当有多个请求时,排队
241
- demo.launch()#生成内网链接,如需要公网链接,括号内输入share=True
 
 
198
  total_visible = gr.Checkbox(label="显示人流量")
199
  with gr.Row():
200
  with gr.Column():
201
+ figure_number_output = gr.Plot(label="人流量", visible=False)
202
  with gr.Tab("图像增强"):
203
  with gr.Row():
204
  with gr.Column():
 
238
  total_visible.change(change_total_visible,total_visible, figure_number_output )
239
 
240
  demo.queue()#当有多个请求时,排队
241
+ demo.launch()#生成内网链接,如需要公网链接,括号内输入share=True
242
+ #server_port=6006
custom_model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da93b05ec8483a0a973a1cc07d17c637938ee08697c402a995d9054ccf76b620
3
+ size 546021279
model_list.txt CHANGED
@@ -2,4 +2,5 @@ yolov8n.pt
2
  yolov8s.pt
3
  yolov8m.pt
4
  yolov8l.pt
5
- yolov8x.pt
 
 
2
  yolov8s.pt
3
  yolov8m.pt
4
  yolov8l.pt
5
+ yolov8x.pt
6
+ custom_model.pt