mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 13:35:12 +03:00
update
This commit is contained in:
parent
32f860ff24
commit
19f94c5bbe
@ -476,12 +476,12 @@ if __name__ == '__main__':
|
||||
path = ""
|
||||
else:
|
||||
path = "trainer"
|
||||
if EX_PORT and EX_IP and args.https == 1:
|
||||
if "EX_PORT" in locals() and "EX_IP" in locals() and args.https == 1:
|
||||
printMessage(f"In many cases it is one of the following", level=1)
|
||||
printMessage(f"https://localhost:{EX_PORT}/{path}", level=1)
|
||||
for ip in EX_IP.strip().split(" "):
|
||||
printMessage(f"https://{ip}:{EX_PORT}/{path}", level=1)
|
||||
elif EX_PORT and EX_IP and args.https == 0:
|
||||
elif "EX_PORT" in locals() and "EX_IP" in locals() and args.https == 0:
|
||||
printMessage(f"In many cases it is one of the following", level=1)
|
||||
printMessage(f"http://localhost:{EX_PORT}/{path}", level=1)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM dannadori/voice-changer-internal:20221209_112157 as front
|
||||
FROM dannadori/voice-changer-internal:20221209_133940 as front
|
||||
FROM debian:bullseye-slim as base
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
@ -7,7 +7,7 @@
|
||||
"build:docker": "date +%Y%m%d%H%M%S > docker/dummy && DOCKER_BUILDKIT=1 docker build -f docker/Dockerfile docker/ -t voice-changer",
|
||||
"build:docker_arm64": "date +%Y%m%d%H%M%S > docker/dummy && DOCKER_BUILDKIT=1 docker build -f docker/Dockerfile_arm64 docker/ -t voice-changer-arm64",
|
||||
"copy:frontend":"docker run -v `pwd`/frontend/dist:/frontend/dist --entrypoint /bin/bash -ti voice-changer -c \"cp -r /voice-changer-internal/frontend/dist/* /frontend/dist\"",
|
||||
"copy:backend":"docker run -v `pwd`/demo:/demo --entrypoint /bin/bash -ti voice-changer -c \"cp -r /voice-changer-internal/voice-change-service/* /demo/\"",
|
||||
"copy:backend":"docker run -v `pwd`/demo:/demo --entrypoint /bin/bash -ti voice-changer -c \"cp -r /voice-changer-internal/voice-change-service/* /demo/ && rm -rf /demo/MMVC_Trainer/.git && rm -rf /demo/MMVC_Trainer/.gitignore \"",
|
||||
"create:demo":"run-p copy:frontend copy:backend",
|
||||
"push:docker": "bash script/001_pushDocker.sh",
|
||||
"push:docker_arm64": "bash script/002_pushDocker_arm64.sh",
|
||||
|
Loading…
Reference in New Issue
Block a user