mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 05:25:01 +03:00
update
This commit is contained in:
parent
e6cd237f56
commit
88c7768ddb
@ -429,8 +429,8 @@ if __name__ == '__main__':
|
||||
|
||||
if os.getenv("EX_TB_PORT"):
|
||||
EX_TB_PORT = os.environ["EX_TB_PORT"]
|
||||
exApplitionInfo = int(EX_TB_PORT)
|
||||
printMessage(f"External_TeonsorBord_Port:{EX_PORT}", level=1)
|
||||
exApplitionInfo.external_tensorboard_port = int(EX_TB_PORT)
|
||||
printMessage(f"External_TeonsorBord_Port:{EX_TB_PORT}", level=1)
|
||||
|
||||
if os.getenv("EX_IP"):
|
||||
EX_IP = os.environ["EX_IP"]
|
||||
|
@ -39,8 +39,8 @@ python3 MMVCServerSIO.py "$@"
|
||||
###
|
||||
# 起動パラメータ
|
||||
# (1) トレーニングの場合
|
||||
# python3 MMVCServerSIO.py <type>
|
||||
# 環境変数:
|
||||
# python3 MMVCServerSIO.py -t <type> [--https on|off, --httpsKey <key>, --httpsCert <key>, --httpsSelfSigned on|off]
|
||||
# 環境変数: EX_PORT, EX_TB_PORT, EX_IP (EX_IPはEX_IP="`hostname -I`"で自動取得)
|
||||
# ※ Colabの場合:python3 MMVCServerSIO.py -t Train -p {PORT} --colab True
|
||||
# (2) VCの場合
|
||||
|
||||
|
@ -13,7 +13,12 @@ def get_file_list(top_dir):
|
||||
|
||||
|
||||
def get_dir_list(top_dir):
|
||||
return os.listdir(top_dir)
|
||||
dirlist = []
|
||||
files = os.listdir(top_dir)
|
||||
for filename in files:
|
||||
if os.path.isdir(os.path.join(top_dir, filename)):
|
||||
dirlist.append(filename)
|
||||
return dirlist
|
||||
|
||||
def get_file_list(top_dir):
|
||||
return glob.glob(top_dir)
|
@ -1,4 +1,4 @@
|
||||
FROM dannadori/voice-changer-internal:20221112_105408 as front
|
||||
FROM dannadori/voice-changer-internal:20221112_111947 as front
|
||||
FROM debian:bullseye-slim as base
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
Loading…
Reference in New Issue
Block a user