From 1fe1988ed58d98c72fe5615794119d365bc8af7a Mon Sep 17 00:00:00 2001 From: Joren Six Date: Wed, 29 Jun 2022 09:58:53 +0200 Subject: [PATCH] Update inference.sh Small change to allow spaces in file names. Bash expands the variable $1 correctly even if it is in double quotes, python receives a single argument and not (if there are spaces) multiple arguments. --- inference.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inference.sh b/inference.sh index fa6e01d..f81a1f7 100644 --- a/inference.sh +++ b/inference.sh @@ -1,5 +1,5 @@ #!/bin/bash -python inference.py inference.audio=$1 +python inference.py inference.audio="$1"