Skip to content

Commit d5f6791

Browse files
committed
rename services name
1 parent 4594243 commit d5f6791

File tree

8 files changed

+76
-76
lines changed

8 files changed

+76
-76
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ For specific code, refer to:
231231
1. Separate video into silent video + audio
232232
2. Place audio in
233233

234-
`D:\Duix.Avatar_data\voice\data` is agreed with the `guiji2025/fish-speech-ziming` service, can be modified in docker-compose
234+
`D:\duix_avatar_data\voice\data` is agreed with the `guiji2025/fish-speech-ziming` service, can be modified in docker-compose
235235

236236
3. Call the
237237

README_zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ docker-compose -f docker-compose-linux.yml up -d
308308
### 模特训练
309309
310310
1. 将视频分离为静音视频 + 音频
311-
2. 音频放到`D:\Duix.Avatar_data\voice\data`
312-
> `D:\Duix.Avatar_data\voice\data`是与`guiji2025/fish-speech-ziming`服务约定的,可以在docker-compose中修改
311+
2. 音频放到`D:\duix_avatar_data\voice\data`
312+
> `D:\duix_avatar_data\voice\data`是与`guiji2025/fish-speech-ziming`服务约定的,可以在docker-compose中修改
313313
3. 调用`http://127.0.0.1:18180/v1/preprocess_and_tran`接口
314314
> 参数示例:
315315
>

deploy/docker-compose-5090.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
1-
networks:
2-
ai_network:
3-
driver: bridge
4-
5-
services:
6-
heygem-tts:
7-
image: guiji2025/fish-speech-5090
8-
container_name: heygem-tts
9-
restart: always
10-
runtime: nvidia
11-
working_dir: /code
12-
environment:
13-
- NVIDIA_VISIBLE_DEVICES=0
14-
- NVIDIA_DRIVER_CAPABILITIES=compute,graphics,utility,video,display
15-
ports:
16-
- '18180:8080'
17-
volumes:
18-
- d:/heygem_data/voice/data:/code/data
19-
command: /bin/bash -c "python tools/api_server.py --listen 0.0.0.0:8080"
20-
networks:
21-
- ai_network
22-
heygem-gen-video:
23-
image: guiji2025/heygem.ai-5090
24-
container_name: heygem-gen-video
25-
restart: always
26-
runtime: nvidia
27-
privileged: true
28-
volumes:
29-
- d:/heygem_data/face2face:/code/data
30-
environment:
31-
- PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512
32-
deploy:
33-
resources:
34-
reservations:
35-
devices:
36-
- capabilities: [gpu]
37-
shm_size: '8g'
38-
ports:
39-
- '8383:8383'
40-
command: python /code/app_local.py
41-
networks:
42-
- ai_network
1+
networks:
2+
ai_network:
3+
driver: bridge
4+
5+
services:
6+
duix-avatar-tts:
7+
image: guiji2025/fish-speech-5090
8+
container_name: duix-avatar-tts
9+
restart: always
10+
runtime: nvidia
11+
working_dir: /code
12+
environment:
13+
- NVIDIA_VISIBLE_DEVICES=0
14+
- NVIDIA_DRIVER_CAPABILITIES=compute,graphics,utility,video,display
15+
ports:
16+
- '18180:8080'
17+
volumes:
18+
- d:/duix_avatar_data/voice/data:/code/data
19+
command: /bin/bash -c "python tools/api_server.py --listen 0.0.0.0:8080"
20+
networks:
21+
- ai_network
22+
duix-avatar-gen-video:
23+
image: guiji2025/duix.avatar-5090
24+
container_name: duix-avatar-gen-video
25+
restart: always
26+
runtime: nvidia
27+
privileged: true
28+
volumes:
29+
- d:/duix_avatar_data/face2face:/code/data
30+
environment:
31+
- PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512
32+
deploy:
33+
resources:
34+
reservations:
35+
devices:
36+
- capabilities: [gpu]
37+
shm_size: '8g'
38+
ports:
39+
- '8383:8383'
40+
command: python /code/app_local.py
41+
networks:
42+
- ai_network

deploy/docker-compose-linux.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ networks:
33
driver: bridge
44

55
services:
6-
heygem-tts:
6+
duix-avatar-tts:
77
image: guiji2025/fish-speech-ziming
8-
container_name: heygem-tts
8+
container_name: duix-avatar-tts
99
restart: always
1010
runtime: nvidia
1111
environment:
@@ -14,13 +14,13 @@ services:
1414
ports:
1515
- '18180:8080'
1616
volumes:
17-
- ~/heygem_data/voice/data:/code/data
17+
- ~/duix_avatar_data/voice/data:/code/data
1818
command: /bin/bash -c "/opt/conda/envs/python310/bin/python3 tools/api_server.py --listen 0.0.0.0:8080"
1919
networks:
2020
- ai_network
21-
heygem-asr:
21+
duix-avatar-asr:
2222
image: guiji2025/fun-asr
23-
container_name: heygem-asr
23+
container_name: duix-avatar-asr
2424
restart: always
2525
runtime: nvidia
2626
privileged: true
@@ -37,14 +37,14 @@ services:
3737
capabilities: [gpu]
3838
networks:
3939
- ai_network
40-
heygem-gen-video:
41-
image: guiji2025/heygem.ai
42-
container_name: heygem-gen-video
40+
duix-avatar-gen-video:
41+
image: guiji2025/duix.avatar
42+
container_name: duix-avatar-gen-video
4343
restart: always
4444
runtime: nvidia
4545
privileged: true
4646
volumes:
47-
- ~/heygem_data/face2face:/code/data
47+
- ~/duix_avatar_data/face2face:/code/data
4848
environment:
4949
- PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512
5050
deploy:

deploy/docker-compose-lite.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ networks:
33
driver: bridge
44

55
services:
6-
heygem-gen-video:
7-
image: guiji2025/heygem.ai
8-
container_name: heygem-gen-video
6+
duix-avatar-gen-video:
7+
image: guiji2025/duix.avatar
8+
container_name: duix-avatar-gen-video
99
restart: always
1010
runtime: nvidia
1111
privileged: true
1212
volumes:
13-
- d:/heygem_data/face2face:/code/data
13+
- d:/duix_avatar_data/face2face:/code/data
1414
environment:
1515
- PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512
1616
deploy:

deploy/docker-compose.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ networks:
33
driver: bridge
44

55
services:
6-
heygem-tts:
6+
duix-avatar-tts:
77
image: guiji2025/fish-speech-ziming
8-
container_name: heygem-tts
8+
container_name: duix-avatar-tts
99
restart: always
1010
runtime: nvidia
1111
environment:
@@ -14,13 +14,13 @@ services:
1414
ports:
1515
- '18180:8080'
1616
volumes:
17-
- d:/heygem_data/voice/data:/code/data
17+
- d:/duix_avatar_data/voice/data:/code/data
1818
command: /bin/bash -c "/opt/conda/envs/python310/bin/python3 tools/api_server.py --listen 0.0.0.0:8080"
1919
networks:
2020
- ai_network
21-
heygem-asr:
21+
duix-avatar-asr:
2222
image: guiji2025/fun-asr
23-
container_name: heygem-asr
23+
container_name: duix-avatar-asr
2424
restart: always
2525
runtime: nvidia
2626
privileged: true
@@ -37,14 +37,14 @@ services:
3737
capabilities: [gpu]
3838
networks:
3939
- ai_network
40-
heygem-gen-video:
41-
image: guiji2025/heygem.ai
42-
container_name: heygem-gen-video
40+
duix-avatar-gen-video:
41+
image: guiji2025/duix.avatar
42+
container_name: duix-avatar-gen-video
4343
restart: always
4444
runtime: nvidia
4545
privileged: true
4646
volumes:
47-
- d:/heygem_data/face2face:/code/data
47+
- d:/duix_avatar_data/face2face:/code/data
4848
environment:
4949
- PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512
5050
deploy:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Duix.Avatar",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Duix.Avatar is a free and open-source AI avatar project developed by Duix.com",
55
"main": "./out/main/index.js",
66
"author": "duix.com",

src/main/config/config.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ export const serviceUrl = {
1111

1212
export const assetPath = {
1313
model: isWin
14-
? path.join('D:', 'heygem_data', 'face2face', 'temp')
15-
: path.join(os.homedir(), 'heygem_data', 'face2face', 'temp'), // 模特视频
14+
? path.join('D:', 'duix_avatar_data', 'face2face', 'temp')
15+
: path.join(os.homedir(), 'duix_avatar_data', 'face2face', 'temp'), // 模特视频
1616
ttsProduct: isWin
17-
? path.join('D:', 'heygem_data', 'face2face', 'temp')
18-
: path.join(os.homedir(), 'heygem_data', 'face2face', 'temp'), // TTS 产物
17+
? path.join('D:', 'duix_avatar_data', 'face2face', 'temp')
18+
: path.join(os.homedir(), 'duix_avatar_data', 'face2face', 'temp'), // TTS 产物
1919
ttsRoot: isWin
20-
? path.join('D:', 'heygem_data', 'voice', 'data')
21-
: path.join(os.homedir(), 'heygem_data', 'voice', 'data'), // TTS服务根目录
20+
? path.join('D:', 'duix_avatar_data', 'voice', 'data')
21+
: path.join(os.homedir(), 'duix_avatar_data', 'voice', 'data'), // TTS服务根目录
2222
ttsTrain: isWin
23-
? path.join('D:', 'heygem_data', 'voice', 'data', 'origin_audio')
24-
: path.join(os.homedir(), 'heygem_data', 'voice', 'data', 'origin_audio') // TTS 训练产物
23+
? path.join('D:', 'duix_avatar_data', 'voice', 'data', 'origin_audio')
24+
: path.join(os.homedir(), 'duix_avatar_data', 'voice', 'data', 'origin_audio') // TTS 训练产物
2525
}

0 commit comments

Comments
 (0)