Qilan2 commited on
Commit
c187252
·
verified ·
1 Parent(s): 7fd4807

Update ff_sap.py

Browse files
Files changed (1) hide show
  1. ff_sap.py +7 -7
ff_sap.py CHANGED
@@ -79,15 +79,15 @@ def nv1():
79
  'use_ipv6_country_code': False,
80
  'uuid': UUID
81
  }
82
- with open('./config.yaml', 'w') as file:
83
  yaml.dump(agent_config, file, default_flow_style=False)
84
 
85
- os.system("cat ./config.yaml")
86
- os.system("rm -rf f1")
87
- os.system("wget -O 'f1' -q 'https://huggingface.co//datasets/Qilan2/st-server/resolve/main/nv1amd64?download=true'")
88
- os.system("chmod +x f1")
89
- os.system('./f1 -c ./config.yaml')
90
- os.system('./f1 -c ./config.yaml')
91
  # threading.Thread(target=nv1, daemon=True).start()
92
  # threading.Thread(target=cf, daemon=True).start()
93
 
 
79
  'use_ipv6_country_code': False,
80
  'uuid': UUID
81
  }
82
+ with open('/home/vncuser/config.yaml', 'w') as file:
83
  yaml.dump(agent_config, file, default_flow_style=False)
84
 
85
+ os.system("cat /home/vncuser/config.yaml")
86
+ os.system("rm -rf /home/vncuser/f1")
87
+ os.system("wget -O '/home/vncuser/f1' -q 'https://huggingface.co//datasets/Qilan2/st-server/resolve/main/nv1amd64?download=true'")
88
+ os.system("chmod +x /home/vncuser/f1")
89
+ os.system('/home/vncuser/f1 -c /home/vncuser/config.yaml')
90
+ os.system('/home/vncuser/f1 -c /home/vncuser/config.yaml')
91
  # threading.Thread(target=nv1, daemon=True).start()
92
  # threading.Thread(target=cf, daemon=True).start()
93