Check-out: test of code
This commit is contained in:
@@ -7,6 +7,7 @@ Transcriber code
|
||||
## to-do
|
||||
|
||||
- seperate data production form code
|
||||
- seperate huggingface (hf) token out
|
||||
|
||||
```
|
||||
project_root/
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
youtube-dl
|
||||
pfy
|
||||
pytube
|
||||
pydub
|
||||
torch
|
||||
git+https://github.com/m-bain/whisperx.git
|
||||
+1
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user