Check-out: test of code

This commit is contained in:
Izaya Orihara
2023-10-06 16:53:57 +02:00
parent 57cc73a439
commit 162711ebeb
3 changed files with 3 additions and 3 deletions
+1
View File
@@ -7,6 +7,7 @@ Transcriber code
## to-do
- seperate data production form code
- seperate huggingface (hf) token out
```
project_root/
+1 -1
View File
@@ -1,5 +1,5 @@
youtube-dl
pfy
pytube
pydub
torch
git+https://github.com/m-bain/whisperx.git
+1 -2
View File
@@ -4,8 +4,7 @@ from src.transcript_generator import TranscriptGenerator
def main():
# input could be a YouTube link or a local file
input_sources = [
'https://www.youtube.com/watch?v=BVVo1BaL6JA',
'/path/to/your/local/file.mp3'
'https://www.youtube.com/watch?v=BVVo1BaL6JA'
]
transcript_generator = TranscriptGenerator()