From 7e63de52f02c51b2c221de21a951fffa6d2130af Mon Sep 17 00:00:00 2001
From: zhifu gao <zhifu.gzf@alibaba-inc.com>
Date: 星期三, 17 五月 2023 00:05:31 +0800
Subject: [PATCH] Merge pull request #519 from alibaba-damo-academy/main
---
funasr/runtime/python/websocket/parse_args.py | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/python/websocket/parse_args.py b/funasr/runtime/python/websocket/parse_args.py
index d170be8..bfa5a87 100644
--- a/funasr/runtime/python/websocket/parse_args.py
+++ b/funasr/runtime/python/websocket/parse_args.py
@@ -35,6 +35,16 @@
type=int,
default=1,
help="cpu cores")
-
+parser.add_argument("--certfile",
+ type=str,
+ default="",
+ required=False,
+ help="certfile for ssl")
+
+parser.add_argument("--keyfile",
+ type=str,
+ default="",
+ required=False,
+ help="keyfile for ssl")
args = parser.parse_args()
print(args)
\ No newline at end of file
--
Gitblit v1.9.1