Check-out: test of code
This commit is contained in:
@@ -7,6 +7,7 @@ Transcriber code
|
|||||||
## to-do
|
## to-do
|
||||||
|
|
||||||
- seperate data production form code
|
- seperate data production form code
|
||||||
|
- seperate huggingface (hf) token out
|
||||||
|
|
||||||
```
|
```
|
||||||
project_root/
|
project_root/
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
youtube-dl
|
youtube-dl
|
||||||
pfy
|
|
||||||
pytube
|
pytube
|
||||||
pydub
|
pydub
|
||||||
|
torch
|
||||||
git+https://github.com/m-bain/whisperx.git
|
git+https://github.com/m-bain/whisperx.git
|
||||||
+1
-2
@@ -4,8 +4,7 @@ from src.transcript_generator import TranscriptGenerator
|
|||||||
def main():
|
def main():
|
||||||
# input could be a YouTube link or a local file
|
# input could be a YouTube link or a local file
|
||||||
input_sources = [
|
input_sources = [
|
||||||
'https://www.youtube.com/watch?v=BVVo1BaL6JA',
|
'https://www.youtube.com/watch?v=BVVo1BaL6JA'
|
||||||
'/path/to/your/local/file.mp3'
|
|
||||||
]
|
]
|
||||||
|
|
||||||
transcript_generator = TranscriptGenerator()
|
transcript_generator = TranscriptGenerator()
|
||||||
|
|||||||
Reference in New Issue
Block a user