Browse Source

websocket python srv ncpu=4

游雁 2 years ago
parent
commit
b805d85fd8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      funasr/runtime/python/websocket/parse_args.py

+ 1 - 1
funasr/runtime/python/websocket/parse_args.py

@@ -33,7 +33,7 @@ parser.add_argument("--ngpu",
                     help="0 for cpu, 1 for gpu")
 parser.add_argument("--ncpu",
                     type=int,
-                    default=1,
+                    default=4,
                     help="cpu cores")
 parser.add_argument("--certfile",
                     type=str,