Update ff_sap.py
Browse files
ff_sap.py
CHANGED
|
@@ -79,15 +79,15 @@ def nv1():
|
|
| 79 |
'use_ipv6_country_code': False,
|
| 80 |
'uuid': UUID
|
| 81 |
}
|
| 82 |
-
with open('
|
| 83 |
yaml.dump(agent_config, file, default_flow_style=False)
|
| 84 |
|
| 85 |
-
os.system("cat
|
| 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('
|
| 90 |
-
os.system('
|
| 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 |
|