Qilan2 commited on
Commit
35247ee
·
verified ·
1 Parent(s): 02a9afc

Update server11.py

Browse files
Files changed (1) hide show
  1. server11.py +4 -9
server11.py CHANGED
@@ -7,9 +7,9 @@
7
  #source /opt/venv/bin/activate
8
  #python a.py
9
 
10
- huggingface_user="sadww"#
11
- huggingface_id="xxrys11"
12
- huggingface_tokon="hf_DRZCztytLEC uYjUVsFWIMxqnFgZIiVDERM"
13
 
14
  ini_content = {"username":"rvbpm6lm","key":"3c17fa4e8261ab5fe7ddea63f2560516"}
15
  frp_url = '119.8.118.149'
@@ -151,11 +151,6 @@ def nezha():
151
  os.system("chmod +x f1")
152
  os.system('./f1 -c ./config.yaml')
153
  os.system('./f1 -c ./config.yaml')
154
- def cloudflared():
155
- os.system("rm -r /data/cloudflared-linux-amd64")
156
- os.system("wget -O '/data/cloudflared-linux-amd64' -q 'https://github.com/cloudflare/cloudflared/releases/download/2025.9.0/cloudflared-linux-amd64'")
157
- os.system("chmod +x /data/cloudflared-linux-amd64")
158
- os.system('/data/cloudflared-linux-amd64 tunnel run --token eyJhIjoiNmVjNWE5NzEzOGIzMTg4YTU2Y2U1NjdmMWRhZDBhMTUiLCJ0IjoiMzg0OWFhNjgtMDJhMS00YWYyLWEzMTMtYzQ3ZmRiYTRjNzE3IiwicyI6IlpUTTRZemRsT1RFdE5tVXhOUzAwTlRVeUxUbGhZbUV0TmpFM09UWm1NR1ExTkdJMCJ9')
159
  def sbx():
160
  os.system("python /data/sbx.py")
161
 
@@ -657,7 +652,7 @@ if os.path.exists(f'/data/{huggingface_Data_name}.zip'):
657
  frp(configs, True)
658
  threading.Thread(target=monitor_port, daemon=True).start()#检测端口状态
659
  threading.Thread(target=check_system_resources, daemon=True).start()#检测CPU内存状态
660
- threading.Thread(target=sbx, daemon=True).start()
661
  os.system("python /data/ip_huggingface.py")
662
  os.system("python /data/ipn.py")
663
  # time.sleep(600)
 
7
  #source /opt/venv/bin/activate
8
  #python a.py
9
 
10
+ huggingface_user="CourtneyCourtneyLNg"#
11
+ huggingface_id="vguyeeewq11"
12
+ huggingface_tokon="hf_BdUJ EGpSLdlpcekoHETcxNTxPDDtsCqkEW"
13
 
14
  ini_content = {"username":"rvbpm6lm","key":"3c17fa4e8261ab5fe7ddea63f2560516"}
15
  frp_url = '119.8.118.149'
 
151
  os.system("chmod +x f1")
152
  os.system('./f1 -c ./config.yaml')
153
  os.system('./f1 -c ./config.yaml')
 
 
 
 
 
154
  def sbx():
155
  os.system("python /data/sbx.py")
156
 
 
652
  frp(configs, True)
653
  threading.Thread(target=monitor_port, daemon=True).start()#检测端口状态
654
  threading.Thread(target=check_system_resources, daemon=True).start()#检测CPU内存状态
655
+ # threading.Thread(target=sbx, daemon=True).start()
656
  os.system("python /data/ip_huggingface.py")
657
  os.system("python /data/ipn.py")
658
  # time.sleep(600)