Skip to content

Commit 5958569

Browse files
committed
增加启动版本打印
1 parent 7594728 commit 5958569

3 files changed

Lines changed: 2 additions & 1 deletion

File tree

-4 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

start.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def do_GET(self):
7777

7878
res = json.dumps(
7979
{
80-
"info": "Douzero API",
80+
"info": "DouZero API",
8181
"version": version,
8282
"link": [
8383
"https://github.com/kwai/DouZero",
@@ -115,6 +115,7 @@ def do_POST(self):
115115

116116

117117
if __name__ == "__main__":
118+
print(f"DouZero_API . ver{version}")
118119

119120
# 才疏学浅,不知道这两行的用途与意义,暂且保留
120121
os.environ["KMP_DUPLICATE_LIB_OK"] = "True"

0 commit comments

Comments
 (0)