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.
This commit is contained in:
Joren Six 2022-06-29 09:58:53 +02:00 committed by GitHub
parent fb7a32a1ff
commit 1fe1988ed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
python inference.py inference.audio=$1 python inference.py inference.audio="$1"