Qilan2 commited on
Commit
9d4606f
·
verified ·
1 Parent(s): cf897a7

Update server2.py

Browse files
Files changed (1) hide show
  1. server2.py +2 -2
server2.py CHANGED
@@ -3,7 +3,7 @@ frp_url = '47.237.156.222'
3
  ssh_port = '7074'
4
  st_url = f'http://{frp_url}:7073'
5
  huggingface_name = 'lixuhs875'
6
- huggingface_Data_name = 'qilan-st1'
7
 
8
  config_data = f"""
9
  [common]
@@ -223,7 +223,7 @@ def compress_folder():
223
  print('文件大小:', file_size, '上次文件大小:', last_uploaded_size,file_size * 1024 ** 2)
224
 
225
  # 判断是否大于800MB (800MB = 800 * 1024 * 1024 字节)
226
- if file_size < (800 * 1024 ** 2):
227
  print("文件小于800MB,不进行上传。")
228
  return
229
 
 
3
  ssh_port = '7074'
4
  st_url = f'http://{frp_url}:7073'
5
  huggingface_name = 'lixuhs875'
6
+ huggingface_Data_name = 'qilan-st2'
7
 
8
  config_data = f"""
9
  [common]
 
223
  print('文件大小:', file_size, '上次文件大小:', last_uploaded_size,file_size * 1024 ** 2)
224
 
225
  # 判断是否大于800MB (800MB = 800 * 1024 * 1024 字节)
226
+ if file_size < (400 * 1024 ** 2):
227
  print("文件小于800MB,不进行上传。")
228
  return
229