Update server12.py
Browse files- server12.py +15 -20
server12.py
CHANGED
|
@@ -7,17 +7,12 @@
|
|
| 7 |
#source /opt/venv/bin/activate
|
| 8 |
#python a.py
|
| 9 |
|
| 10 |
-
huggingface_user="
|
| 11 |
-
huggingface_id="
|
| 12 |
-
huggingface_tokon="
|
| 13 |
-
|
| 14 |
ini_content = {"username":"rvbpm6lm","key":"3c17fa4e8261ab5fe7ddea63f2560516"}
|
| 15 |
-
frp_url = '119.8.118.149'
|
| 16 |
-
ssh_port = '7082'
|
| 17 |
-
ssh_url = '45.32.68.209'
|
| 18 |
-
st_url = f'http://{frp_url}:7092'
|
| 19 |
huggingface_name = 'rvbpm6lm'
|
| 20 |
-
huggingface_Data_name = 'qilan-
|
| 21 |
data_folder = '/data/SillyTavern' # 要压缩的目录
|
| 22 |
zip_file_path = '/dev/shm/a/sillytavern.tar.gz' # 输出的 tar.gz 文件路径
|
| 23 |
metadata_file_path = '/dev/shm/a/dataset-metadata.json'
|
|
@@ -27,51 +22,51 @@ configs = [
|
|
| 27 |
server_addr = 47.237.156.222
|
| 28 |
server_port = 7000
|
| 29 |
|
| 30 |
-
[
|
| 31 |
type = tcp
|
| 32 |
local_ip = 127.0.0.1
|
| 33 |
local_port = 8000
|
| 34 |
-
remote_port =
|
| 35 |
""", '/data/frp/frpc.ini'),
|
| 36 |
("""
|
| 37 |
[common]
|
| 38 |
server_addr = 47.74.57.131
|
| 39 |
server_port=7000
|
| 40 |
-
[
|
| 41 |
type=tcp
|
| 42 |
local_ip=127.0.0.1
|
| 43 |
local_port=8000
|
| 44 |
-
remote_port=
|
| 45 |
""", '/data/frp/frpc6.ini'),
|
| 46 |
("""
|
| 47 |
[common]
|
| 48 |
server_addr = 8.219.236.184
|
| 49 |
server_port=7000
|
| 50 |
-
[
|
| 51 |
type=tcp
|
| 52 |
local_ip=127.0.0.1
|
| 53 |
local_port=8000
|
| 54 |
-
remote_port=
|
| 55 |
""", '/data/frp/frpc8.ini'),
|
| 56 |
("""
|
| 57 |
[common]
|
| 58 |
server_addr = 43.159.47.227
|
| 59 |
server_port=7000
|
| 60 |
-
[
|
| 61 |
type=tcp
|
| 62 |
local_ip=127.0.0.1
|
| 63 |
local_port=8000
|
| 64 |
-
remote_port=
|
| 65 |
""", '/data/frp/frpc9.ini'),
|
| 66 |
("""
|
| 67 |
[common]
|
| 68 |
server_addr = 47.243.129.107
|
| 69 |
server_port=7000
|
| 70 |
-
[
|
| 71 |
type=tcp
|
| 72 |
local_ip=127.0.0.1
|
| 73 |
local_port=8000
|
| 74 |
-
remote_port=
|
| 75 |
""", '/data/frp/frpc7.ini')
|
| 76 |
]
|
| 77 |
kaggle_metadata = {
|
|
@@ -142,7 +137,7 @@ def nezha():
|
|
| 142 |
'tls': True,
|
| 143 |
'use_gitee_to_upgrade': False,
|
| 144 |
'use_ipv6_country_code': False,
|
| 145 |
-
'uuid': '
|
| 146 |
}
|
| 147 |
with open('./config.yaml', 'w') as file:
|
| 148 |
yaml.dump(agent_config, file, default_flow_style=False)
|
|
|
|
| 7 |
#source /opt/venv/bin/activate
|
| 8 |
#python a.py
|
| 9 |
|
| 10 |
+
huggingface_user="hjgjytuy"#
|
| 11 |
+
huggingface_id="daswewqqq12"
|
| 12 |
+
huggingface_tokon="hf_HalgmXhJ HqsqfLuAjUdNQWPWATrZROKaAz"
|
|
|
|
| 13 |
ini_content = {"username":"rvbpm6lm","key":"3c17fa4e8261ab5fe7ddea63f2560516"}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
huggingface_name = 'rvbpm6lm'
|
| 15 |
+
huggingface_Data_name = 'qilan-st12'
|
| 16 |
data_folder = '/data/SillyTavern' # 要压缩的目录
|
| 17 |
zip_file_path = '/dev/shm/a/sillytavern.tar.gz' # 输出的 tar.gz 文件路径
|
| 18 |
metadata_file_path = '/dev/shm/a/dataset-metadata.json'
|
|
|
|
| 22 |
server_addr = 47.237.156.222
|
| 23 |
server_port = 7000
|
| 24 |
|
| 25 |
+
[safsa12]
|
| 26 |
type = tcp
|
| 27 |
local_ip = 127.0.0.1
|
| 28 |
local_port = 8000
|
| 29 |
+
remote_port = 7093
|
| 30 |
""", '/data/frp/frpc.ini'),
|
| 31 |
("""
|
| 32 |
[common]
|
| 33 |
server_addr = 47.74.57.131
|
| 34 |
server_port=7000
|
| 35 |
+
[4kxdde12]
|
| 36 |
type=tcp
|
| 37 |
local_ip=127.0.0.1
|
| 38 |
local_port=8000
|
| 39 |
+
remote_port=7093
|
| 40 |
""", '/data/frp/frpc6.ini'),
|
| 41 |
("""
|
| 42 |
[common]
|
| 43 |
server_addr = 8.219.236.184
|
| 44 |
server_port=7000
|
| 45 |
+
[safsa12]
|
| 46 |
type=tcp
|
| 47 |
local_ip=127.0.0.1
|
| 48 |
local_port=8000
|
| 49 |
+
remote_port=7093
|
| 50 |
""", '/data/frp/frpc8.ini'),
|
| 51 |
("""
|
| 52 |
[common]
|
| 53 |
server_addr = 43.159.47.227
|
| 54 |
server_port=7000
|
| 55 |
+
[safsa12]
|
| 56 |
type=tcp
|
| 57 |
local_ip=127.0.0.1
|
| 58 |
local_port=8000
|
| 59 |
+
remote_port=7093
|
| 60 |
""", '/data/frp/frpc9.ini'),
|
| 61 |
("""
|
| 62 |
[common]
|
| 63 |
server_addr = 47.243.129.107
|
| 64 |
server_port=7000
|
| 65 |
+
[4kktyuu12]
|
| 66 |
type=tcp
|
| 67 |
local_ip=127.0.0.1
|
| 68 |
local_port=8000
|
| 69 |
+
remote_port=7093
|
| 70 |
""", '/data/frp/frpc7.ini')
|
| 71 |
]
|
| 72 |
kaggle_metadata = {
|
|
|
|
| 137 |
'tls': True,
|
| 138 |
'use_gitee_to_upgrade': False,
|
| 139 |
'use_ipv6_country_code': False,
|
| 140 |
+
'uuid': 'c97bff7d-39d2-40b0-81e5-6dbb2ef6368f'
|
| 141 |
}
|
| 142 |
with open('./config.yaml', 'w') as file:
|
| 143 |
yaml.dump(agent_config, file, default_flow_style=False)
|