-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document the code and finished solving final bugs
- Loading branch information
Eduardo Matallanas
committed
Nov 15, 2022
1 parent
ec1f450
commit c21d613
Showing
12 changed files
with
373 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from .hf_dataset import * | ||
from .transcript_dataset import * | ||
from .transcript_dataset import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
from .downloader import * | ||
from .youtube_downloader import * | ||
from .whisper_post_processor import * | ||
from .whisper_post_processor import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
from abc import ABC, abstractmethod | ||
|
||
|
||
|
||
class Downloader(ABC): | ||
""" | ||
A video downloader from online platforms to a specified format | ||
""" | ||
"""Video downloader from online platforms to a specified format.""" | ||
|
||
@abstractmethod | ||
def __init__(self, download_path): | ||
def __init__(self, download_path: str): | ||
"""Initialize the download_path. | ||
Args: | ||
download_path: str, Path where the resultant format is going to be stored. | ||
""" | ||
self.download_path = download_path | ||
|
||
@abstractmethod | ||
def download(self): | ||
pass | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from .interpreter import * | ||
from .whisper_interpreter import * | ||
from .whisper_interpreter import * |
Oops, something went wrong.