neko941 commited on
Commit
32bee3a
1 Parent(s): e54e36b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,10 +37,10 @@ def check_file(file, suffix=''):
37
  return file
38
 
39
  def read_pretrain(path):
40
- return torch.hub.load('ultralytics/yolov5', 'custom', path=path
41
 
 
42
  with st.spinner('Loading the model...'):
43
- default_pretrained = '2022.11.04-YOLOv5x6_1280-Hololive_Waifu_Classification.pt'
44
  read_pretrain(default_pretrained)
45
 
46
  st.title("Hololive Waifu Classification")
 
37
  return file
38
 
39
  def read_pretrain(path):
40
+ return torch.hub.load('ultralytics/yolov5', 'custom', path=path)
41
 
42
+ default_pretrained = '2022.11.04-YOLOv5x6_1280-Hololive_Waifu_Classification.pt'
43
  with st.spinner('Loading the model...'):
 
44
  read_pretrain(default_pretrained)
45
 
46
  st.title("Hololive Waifu Classification")