liqian 1 year ago
parent
commit
e7c13d9818
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rec_model_update.py

+ 1 - 1
rec_model_update.py

@@ -171,7 +171,7 @@ def main():
                 # 3.2. scp 模型文件到服务器
                 ecs_model_path = '/data/offline_dir'
                 scp_command = f"scp {local_path}/{model_file} {ip_address}:{ecs_model_path}"
-                #os.system(command=scp_command)
+                os.system(command=scp_command)
                 # 3.3 服务重启
                 server_restart(slb_client=slb_client, instance_id=instance_id,
                                ip_address=ip_address, ins_name=docker_ins_name, dt=dt)