From 2c9e9a69dba5481824f8ce89abe554fd0079b29a Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期四, 25 五月 2023 19:30:26 +0800
Subject: [PATCH] add 2pass online offline select for ws html5 (#557)

---
 funasr/runtime/python/websocket/parse_args.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/funasr/runtime/python/websocket/parse_args.py b/funasr/runtime/python/websocket/parse_args.py
index bfa5a87..82d9c90 100644
--- a/funasr/runtime/python/websocket/parse_args.py
+++ b/funasr/runtime/python/websocket/parse_args.py
@@ -37,13 +37,13 @@
                     help="cpu cores")
 parser.add_argument("--certfile",
                     type=str,
-                    default="",
+                    default="./ssl_key/server.crt",
                     required=False,
                     help="certfile for ssl")
                     
 parser.add_argument("--keyfile",
                     type=str,
-                    default="",
+                    default="./ssl_key/server.key",
                     required=False,
                     help="keyfile for ssl")
 args = parser.parse_args()

--
Gitblit v1.9.1