Skip to content

Commit

Permalink
Updated Run.sh with ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
wmobley committed Feb 13, 2025
1 parent 9dd0813 commit 7146c4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"id": "Whisper-Transcriptionb",
"version": "0.1.4sha-f092ead",
"version": "0.1.4sha-9dd0813",
"description": "Run an non-interactive script on TACC using docker.",
"owner": "${apiUserId}",
"enabled": true,
"runtime": "SINGULARITY",
"runtimeVersion": null,
"runtimeOptions": ["SINGULARITY_RUN"],
"containerImage": "docker://ghcr.io/in-for-disaster-analytics/whipser-container:sha-f092ead",
"containerImage": "docker://ghcr.io/in-for-disaster-analytics/whipser-container:sha-9dd0813",
"jobType": "BATCH",
"maxJobs": -1,
"maxJobsPerUser": -1,
Expand Down
3 changes: 2 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export_repo_variables
init_directory
handle_installation
conda activate ${COOKBOOK_CONDA_ENV}
insanely-fast-whisper --file-name $file_name --diarization_model pyannote/speaker-diarization-3.1 --min-speakers $min_speakers --transcript-path $output --hf-token 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
ffmpeg -i $file_name temp.mp3
insanely-fast-whisper --file-name temp.mp3 --diarization_model pyannote/speaker-diarization-3.1 --min-speakers $min_speakers --transcript-path $output --hf-token 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


0 comments on commit 7146c4c

Please sign in to comment.