Update main.sh
This commit is contained in:
parent
29dedcdcc1
commit
985c6a45ff
2
main.sh
2
main.sh
@ -35,7 +35,7 @@ WORKDIR="$(mktemp -d)"
|
|||||||
trap 'rm -rf "$WORKDIR"' EXIT
|
trap 'rm -rf "$WORKDIR"' EXIT
|
||||||
|
|
||||||
SOURCE_PATH="" # where the audio/video comes from (local file after download if URL)
|
SOURCE_PATH="" # where the audio/video comes from (local file after download if URL)
|
||||||
MP3_PATH="" # final mp3 we’ll feed to whisper
|
MP3_PATH="" # final mp3 we'll feed to whisper
|
||||||
|
|
||||||
# --- stage input (download if URL) ---
|
# --- stage input (download if URL) ---
|
||||||
if is_url "$INPUT"; then
|
if is_url "$INPUT"; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user