Atualli commited on
Commit
4ca50aa
1 Parent(s): a03571e

volta modelo normal

Browse files
Files changed (1) hide show
  1. app1.py +2 -2
app1.py CHANGED
@@ -8,7 +8,7 @@ import yolov7
8
  #torch.hub.download_url_to_file('https://github.com/ultralytics/yolov5/raw/master/data/images/zidane.jpg', 'zidane.jpg')
9
  #torch.hub.download_url_to_file('https://raw.githubusercontent.com/obss/sahi/main/tests/data/small-vehicles1.jpeg', 'small-vehicles1.jpeg')
10
 
11
- model_path = "kadirnar/yolov7-tiny-v0.1" #"kadirnar/yolov7-v0.1" #
12
  image_size = 640
13
  conf_threshold = 0.25
14
  iou_threshold = 0.45
@@ -79,7 +79,7 @@ demo_app = gr.Interface(
79
  #cache_examples=True,
80
  #theme='huggingface',
81
  )
82
- demo_app.launch(debug=False, server_name="192.168.0.153", server_port=8081, enable_queue=True)
83
  #demo_app.launch(debug=True, server_port=8083, enable_queue=True)
84
  #demo_app.launch(debug=True, enable_queue=True)
85
 
 
8
  #torch.hub.download_url_to_file('https://github.com/ultralytics/yolov5/raw/master/data/images/zidane.jpg', 'zidane.jpg')
9
  #torch.hub.download_url_to_file('https://raw.githubusercontent.com/obss/sahi/main/tests/data/small-vehicles1.jpeg', 'small-vehicles1.jpeg')
10
 
11
+ model_path = "kadirnar/yolov7-v0.1" #"kadirnar/yolov7-tiny-v0.1"
12
  image_size = 640
13
  conf_threshold = 0.25
14
  iou_threshold = 0.45
 
79
  #cache_examples=True,
80
  #theme='huggingface',
81
  )
82
+ demo_app.launch(debug=True, server_name="192.168.0.153", server_port=8081, enable_queue=True)
83
  #demo_app.launch(debug=True, server_port=8083, enable_queue=True)
84
  #demo_app.launch(debug=True, enable_queue=True)
85