mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 21:45:00 +03:00
update
This commit is contained in:
parent
6100f2486d
commit
2030ace201
@ -37,7 +37,7 @@ dictConfig({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
app = Flask(__name__, static_folder="/voice-changer-internal/frontend/dist", static_url_path='/')
|
app = Flask(__name__, static_folder="../frontend/dist", static_url_path='/')
|
||||||
CORS(app, resources={r"/*": {"origins": "*"}})
|
CORS(app, resources={r"/*": {"origins": "*"}})
|
||||||
|
|
||||||
class VoiceChanger():
|
class VoiceChanger():
|
||||||
|
File diff suppressed because one or more lines are too long
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# 参考:https://programwiz.org/2022/03/22/how-to-write-shell-script-for-option-parsing/
|
# 参考:https://programwiz.org/2022/03/22/how-to-write-shell-script-for-option-parsing/
|
||||||
|
|
||||||
DOCKER_IMAGE=dannadori/voice-changer:20220831_141509
|
DOCKER_IMAGE=dannadori/voice-changer:20220831_151141
|
||||||
TENSORBOARD_PORT=6006
|
TENSORBOARD_PORT=6006
|
||||||
VOICE_CHANGER_PORT=8080
|
VOICE_CHANGER_PORT=8080
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
{
|
{
|
||||||
"app_title": "voice-changer",
|
"app_title": "voice-changer",
|
||||||
|
"majar_mode": "docker",
|
||||||
"voice_changer_server_url": "http://localhost:8080/test",
|
"voice_changer_server_url": "http://localhost:8080/test",
|
||||||
"sample_rate": 48000,
|
"sample_rate": 48000,
|
||||||
"buffer_size": 1024,
|
"buffer_size": 1024,
|
||||||
|
"prefix_chunk_size": 24,
|
||||||
"chunk_size": 24,
|
"chunk_size": 24,
|
||||||
"speaker_ids": [100, 107, 101, 102, 103],
|
"speaker_ids": [100, 107, 101, 102, 103],
|
||||||
"speaker_names": ["ずんだもん", "user", "そら", "めたん", "つぐみ"],
|
"speaker_names": ["ずんだもん", "user", "そら", "めたん", "つぐみ"],
|
||||||
@ -11,7 +13,7 @@
|
|||||||
"vf_enable": true,
|
"vf_enable": true,
|
||||||
"voice_changer_mode": "realtime",
|
"voice_changer_mode": "realtime",
|
||||||
"gpu": 0,
|
"gpu": 0,
|
||||||
"available_gpus": [-1, 0, 1, 2, 3, 4, 5, 100, 200],
|
"available_gpus": [-1, 0, 1, 2, 3, 4],
|
||||||
"avatar": {
|
"avatar": {
|
||||||
"motion_capture_face": true,
|
"motion_capture_face": true,
|
||||||
"motion_capture_upperbody": true,
|
"motion_capture_upperbody": true,
|
||||||
@ -26,6 +28,8 @@
|
|||||||
"advance": {
|
"advance": {
|
||||||
"avatar_draw_skip_rate": 3,
|
"avatar_draw_skip_rate": 3,
|
||||||
"screen_draw_skip_rate": 3,
|
"screen_draw_skip_rate": 3,
|
||||||
"visualizer_draw_skip_rate": 3
|
"visualizer_draw_skip_rate": 3,
|
||||||
|
"cross_fade_lower_value": 0.1,
|
||||||
|
"cross_fade_overlap_rate": 0.03
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
35
template/setting_colab.json
Normal file
35
template/setting_colab.json
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{
|
||||||
|
"app_title": "voice-changer",
|
||||||
|
"majar_mode": "colab",
|
||||||
|
"voice_changer_server_url": "http://localhost:8080/test",
|
||||||
|
"sample_rate": 48000,
|
||||||
|
"buffer_size": 1024,
|
||||||
|
"prefix_chunk_size": 24,
|
||||||
|
"chunk_size": 24,
|
||||||
|
"speaker_ids": [100, 107, 101, 102, 103],
|
||||||
|
"speaker_names": ["ずんだもん", "user", "そら", "めたん", "つぐみ"],
|
||||||
|
"src_id": 107,
|
||||||
|
"dst_id": 100,
|
||||||
|
"vf_enable": true,
|
||||||
|
"voice_changer_mode": "realtime",
|
||||||
|
"gpu": 0,
|
||||||
|
"available_gpus": [-1, 0, 1, 2, 3, 4],
|
||||||
|
"avatar": {
|
||||||
|
"motion_capture_face": true,
|
||||||
|
"motion_capture_upperbody": true,
|
||||||
|
"lip_overwrite_with_voice": true,
|
||||||
|
"avatar_url": "./assets/vrm/zundamon/zundamon.vrm",
|
||||||
|
"backgournd_image_url": "./assets/images/bg_natural_sougen.jpg",
|
||||||
|
"background_color": "#0000dd",
|
||||||
|
"chroma_key": "#0000dd",
|
||||||
|
"avatar_canvas_size": [1280, 720],
|
||||||
|
"screen_canvas_size": [1280, 720]
|
||||||
|
},
|
||||||
|
"advance": {
|
||||||
|
"avatar_draw_skip_rate": 3,
|
||||||
|
"screen_draw_skip_rate": 3,
|
||||||
|
"visualizer_draw_skip_rate": 3,
|
||||||
|
"cross_fade_lower_value": 0.1,
|
||||||
|
"cross_fade_overlap_rate": 0.03
|
||||||
|
}
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
FROM dannadori/voice-changer-internal:20220831_140605 as front
|
FROM dannadori/voice-changer-internal:20220831_150941 as front
|
||||||
FROM debian:bullseye-slim as base
|
FROM debian:bullseye-slim as base
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
Loading…
Reference in New Issue
Block a user