Qilan2 commited on
Commit
221a778
·
verified ·
1 Parent(s): 85c21dc

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +11 -11
server.py CHANGED
@@ -25,7 +25,16 @@ kaggle_metadata = {
25
  "id": "xovale7506/sillytavern-data",
26
  "licenses": [{"name": "CC0-1.0"}]
27
  }
28
-
 
 
 
 
 
 
 
 
 
29
  # 更新软件包列表
30
  def update():
31
  print('-----------更新软件包列表开始-------------')
@@ -40,16 +49,7 @@ def update():
40
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
41
  print('-----------更新软件包列表结束-------------')
42
  update()
43
- import subprocess
44
- import os
45
- from IPython.display import clear_output
46
- import urllib.request
47
- from pathlib import Path
48
- from ruamel.yaml import YAML
49
- import json
50
- import threading
51
- import time
52
- import glob # 导入 glob 模块
53
  clear_output(wait=True) # 清除输出
54
 
55
  def kill_frpc_processes():
 
25
  "id": "xovale7506/sillytavern-data",
26
  "licenses": [{"name": "CC0-1.0"}]
27
  }
28
+ import subprocess
29
+ import os
30
+ from IPython.display import clear_output
31
+ import urllib.request
32
+ from pathlib import Path
33
+ from ruamel.yaml import YAML
34
+ import json
35
+ import threading
36
+ import time
37
+ import glob # 导入 glob 模块
38
  # 更新软件包列表
39
  def update():
40
  print('-----------更新软件包列表开始-------------')
 
49
  os.system("pip install ruamel.yaml") # install ruamel.yaml to solve the import issue
50
  print('-----------更新软件包列表结束-------------')
51
  update()
52
+
 
 
 
 
 
 
 
 
 
53
  clear_output(wait=True) # 清除输出
54
 
55
  def kill_frpc_processes():