From ef47d77492000924701ab9ae635045dfde06e4bc Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Fri, 4 Nov 2022 18:30:38 +0200 Subject: [PATCH] main : fix generated bash script --- examples/main/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/main/main.cpp b/examples/main/main.cpp index b589459..5907e0b 100644 --- a/examples/main/main.cpp +++ b/examples/main/main.cpp @@ -313,7 +313,7 @@ bool output_wts(struct whisper_context * ctx, const char * fname, const char * f // TODO: become parameter static const char * font = "/System/Library/Fonts/Supplemental/Courier New Bold.ttf"; - fout << "!/bin/bash" << "\n"; + fout << "#!/bin/bash" << "\n"; fout << "\n"; fout << "ffmpeg -i " << fname_inp << " -f lavfi -i color=size=1200x120:duration=" << t_sec << ":rate=25:color=black -vf \"";