ning8429 commited on
Commit
f296b4f
·
verified ·
1 Parent(s): 72231fb

Update api_server.py

Browse files
Files changed (1) hide show
  1. api_server.py +2 -0
api_server.py CHANGED
@@ -33,6 +33,8 @@ if load_type == 'local':
33
  raise FileNotFoundError(f"Model file not found at {model_path}")
34
 
35
  model = YOLO(model_path)
 
 
36
  #model.eval() # 設定模型為推理模式
37
  elif load_type == 'remote_hub_download':
38
  from huggingface_hub import hf_hub_download
 
33
  raise FileNotFoundError(f"Model file not found at {model_path}")
34
 
35
  model = YOLO(model_path)
36
+
37
+ print("=============== YOLO DONE =============")
38
  #model.eval() # 設定模型為推理模式
39
  elif load_type == 'remote_hub_download':
40
  from huggingface_hub import hf_hub_download