This commit is contained in:
wataru 2022-11-12 12:11:11 +09:00
parent 12bc4ebc70
commit 6406bff7e0
4 changed files with 2 additions and 7 deletions

View File

@ -405,11 +405,9 @@ if __name__ == thisFilename or args.colab == True:
json_compatible_item_data = jsonable_encoder(exApplitionInfo) json_compatible_item_data = jsonable_encoder(exApplitionInfo)
return JSONResponse(content=json_compatible_item_data) return JSONResponse(content=json_compatible_item_data)
if __name__ == '__mp_main__': if __name__ == '__mp_main__':
printMessage(f"PHASE2:{__name__}", level=2) printMessage(f"PHASE2:{__name__}", level=2)
if __name__ == '__main__': if __name__ == '__main__':
printMessage(f"PHASE1:{__name__}", level=2) printMessage(f"PHASE1:{__name__}", level=2)
TYPE = args.t TYPE = args.t

View File

@ -1,4 +1,4 @@
FROM dannadori/voice-changer-internal:20221112_115723 as front FROM dannadori/voice-changer-internal:20221112_120908 as front
FROM debian:bullseye-slim as base FROM debian:bullseye-slim as base
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive

View File

@ -21,9 +21,6 @@ if [ "${MODE}" = "MMVC" ] ; then
if [[ -e /resources/setting.json ]]; then if [[ -e /resources/setting.json ]]; then
echo "指定された設定(setting.json)を使用します。" echo "指定された設定(setting.json)を使用します。"
cp /resources/setting.json ../frontend/dist/assets/setting.json cp /resources/setting.json ../frontend/dist/assets/setting.json
else
echo "デフォルトの設定(setting.json)を使用します。"
cp ../frontend/dist/assets/setting_mmvc.json ../frontend/dist/assets/setting.json
fi fi
find /resources/ -type f -name "config.json" | xargs -I{} sh -c 'echo "config.jsonをコピーします。" && cp {} ./' find /resources/ -type f -name "config.json" | xargs -I{} sh -c 'echo "config.jsonをコピーします。" && cp {} ./'

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -eu set -eu
DOCKER_IMAGE=dannadori/voice-changer:20221112_115832 DOCKER_IMAGE=dannadori/voice-changer:20221112_121031
# DOCKER_IMAGE=voice-changer # DOCKER_IMAGE=voice-changer
if [ $# = 0 ]; then if [ $# = 0 ]; then