Carzit commited on
Commit
45bf8de
·
verified ·
1 Parent(s): 2a62bb3

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -91,7 +91,7 @@ def run(img, mode, width, height):
91
  return face_crop_pipeline.results[0]
92
 
93
  if __name__ == '__main__':
94
- model_path = huggingface_hub.hf_hub_download("Carzit/yolo5x_anime", "yolo5x_anime.pt")
95
  face_crop_pipeline = FaceCrop()
96
  face_crop_pipeline.load_model(model_path)
97
 
 
91
  return face_crop_pipeline.results[0]
92
 
93
  if __name__ == '__main__':
94
+ model_path = huggingface_hub.hf_hub_download("Carzit/yolo5x_anime", "yolov5x_anime.pt")
95
  face_crop_pipeline = FaceCrop()
96
  face_crop_pipeline.load_model(model_path)
97