Skip to content

Commit eba09aa

Browse files
committed
[voicevox] Update use_docker option
1 parent a05278b commit eba09aa

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

3rdparty/voicevox/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ docker run --rm --gpus all -p '50021:50021' voicevox/voicevox_engine:nvidia-ubun
7575
```
7676

7777
```
78-
roslaunch voicevox voicevox_texttospeech.launch ip:=<Docker PC IP>
78+
roslaunch voicevox voicevox_texttospeech.launch use_docker:=true host:=<Docker PC IP>
7979
```
8080

8181

3rdparty/voicevox/launch/voicevox_texttospeech.launch

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@
1010
<arg name="port" default="$(optenv VOICEVOX_TEXTTOSPEECH_PORT 50021)" />
1111
<arg name="cpu_num_threads" default="1"
1212
doc="Number of cpu threads" />
13+
<arg name="use_docker" default="false"
14+
doc="Use docker or not (default: false)" />
1315

1416
<node name="voicevox_server"
1517
pkg="voicevox" type="run-voicevox"
1618
args="--voicelib_dir=$(find voicevox)/voicevox_core --host $(arg host) --port $(arg port) --cpu_num_threads=$(arg cpu_num_threads) --load_all_models --"
1719
respawn="$(arg sound_play_respawn)"
18-
output="screen" >
20+
output="screen"
21+
unless="$(arg use_docker)">
1922
</node>
2023

2124
<node if="$(arg launch_sound_play)"

0 commit comments

Comments
 (0)