Skip to content

Commit

Permalink
changed all kaldi-nl-test refs to whisper-test
Browse files Browse the repository at this point in the history
  • Loading branch information
jblom committed Sep 23, 2024
1 parent 147d4dc commit a837df6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# passed to --input-uri (see main.py)
INPUT_URI=http://model-hosting.beng.nl/kaldi-nl-test.mp3
INPUT_URI=http://model-hosting.beng.nl/whisper-test.mp3

# passed to --output-uri (see main.py)
OUTPUT_URI=s3://x-omg-daan-av/assets/2101608150135908031__NOS_JOURNAAL_-WON01207359/
Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
!/data/README.md
!/data/input/
/data/input/*
!/data/input/kaldi-nl-test.mp3
!/data/input/whisper-test.mp3
!/data/output
/data/output/*
!/data/output/kaldi-nl-test
!/data/output/kaldi-nl-test/*
!/data/output/whisper-test
!/data/output/whisper-test/*
/model/*
__pycache__
.pytest_cache
Expand Down
2 changes: 1 addition & 1 deletion daan_transcript.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ParsedResult(TypedDict):
carrierId: str


# asr_output_dir e.g /data/output/kaldi-nl-test/
# asr_output_dir e.g /data/output/whisper-test/
def generate_daan_transcript(asr_output_dir: str) -> bool:
logger.info(f"Generating transcript from: {asr_output_dir}")
whisper_transcript = load_whisper_transcript(asr_output_dir)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"start": 3.22,
"fragmentId": "00000",
"words": "En dat je er bent, ben je voor het eerst hierof, ben je al de kef.",
"carrierId": "kaldi-nl-test"
"carrierId": "whisper-test"
}
]
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"carrierId": "kaldi-nl-test",
"carrierId": "whisper-test",
"segments": [
{
"id": 1,
Expand Down

0 comments on commit a837df6

Please sign in to comment.