nixos/tts: fix handling of extraArgs
This commit is contained in:
committed by
Jörg Thalheim
parent
4cc13ba7c8
commit
7ebb6132f4
@@ -126,7 +126,7 @@ in
|
|||||||
"${pkgs.tts}/bin/tts-server --port ${toString options.port} "
|
"${pkgs.tts}/bin/tts-server --port ${toString options.port} "
|
||||||
+ optionalString (options.model != null) "--model_name ${options.model} "
|
+ optionalString (options.model != null) "--model_name ${options.model} "
|
||||||
+ optionalString (options.useCuda) "--use_cuda "
|
+ optionalString (options.useCuda) "--use_cuda "
|
||||||
+ (concatMapStringsSep " " escapeShellArgs options.extraArgs);
|
+ (escapeShellArgs options.extraArgs);
|
||||||
CapabilityBoundingSet = "";
|
CapabilityBoundingSet = "";
|
||||||
DeviceAllow =
|
DeviceAllow =
|
||||||
if options.useCuda then
|
if options.useCuda then
|
||||||
|
|||||||
Reference in New Issue
Block a user