mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-10-08 16:00:01 +08:00
修正bug,is_share没有默认值
This commit is contained in:
parent
fc0ba42bf8
commit
1979211eda
@ -16,10 +16,11 @@ from srt_utils import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
port = 8991
|
port = 8991
|
||||||
|
is_share = False
|
||||||
if len(sys.argv) > 2:
|
if len(sys.argv) > 2:
|
||||||
port = int(sys.argv[1])
|
port = int(sys.argv[1])
|
||||||
is_share = eval(sys.argv[2])
|
is_share = eval(sys.argv[2])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
from i18n.i18n import I18nAuto
|
from i18n.i18n import I18nAuto
|
||||||
|
Loading…
x
Reference in New Issue
Block a user