Spaces:
Running
Running
jhj0517
commited on
Commit
·
ccbfe76
1
Parent(s):
ffb268e
Rename file
Browse files- app.py +1 -1
- modules/translation/translation_base.py +1 -1
- modules/whisper/{whisper_parameter.py → data_classes.py} +0 -0
- modules/whisper/faster_whisper_inference.py +1 -1
- modules/whisper/insanely_fast_whisper_inference.py +1 -1
- modules/whisper/whisper_Inference.py +1 -1
- modules/whisper/whisper_base.py +1 -1
- tests/test_bgm_separation.py +1 -1
- tests/test_diarization.py +1 -1
- tests/test_transcription.py +1 -1
- tests/test_vad.py +1 -1
app.py
CHANGED
@@ -17,7 +17,7 @@ from modules.ui.htmls import *
|
|
17 |
from modules.utils.cli_manager import str2bool
|
18 |
from modules.utils.youtube_manager import get_ytmetas
|
19 |
from modules.translation.deepl_api import DeepLAPI
|
20 |
-
from modules.whisper.
|
21 |
|
22 |
|
23 |
class App:
|
|
|
17 |
from modules.utils.cli_manager import str2bool
|
18 |
from modules.utils.youtube_manager import get_ytmetas
|
19 |
from modules.translation.deepl_api import DeepLAPI
|
20 |
+
from modules.whisper.data_classes import *
|
21 |
|
22 |
|
23 |
class App:
|
modules/translation/translation_base.py
CHANGED
@@ -6,7 +6,7 @@ from typing import List
|
|
6 |
from datetime import datetime
|
7 |
|
8 |
import modules.translation.nllb_inference as nllb
|
9 |
-
from modules.whisper.
|
10 |
from modules.utils.subtitle_manager import *
|
11 |
from modules.utils.files_manager import load_yaml, save_yaml
|
12 |
from modules.utils.paths import DEFAULT_PARAMETERS_CONFIG_PATH, NLLB_MODELS_DIR, TRANSLATION_OUTPUT_DIR
|
|
|
6 |
from datetime import datetime
|
7 |
|
8 |
import modules.translation.nllb_inference as nllb
|
9 |
+
from modules.whisper.data_classes import *
|
10 |
from modules.utils.subtitle_manager import *
|
11 |
from modules.utils.files_manager import load_yaml, save_yaml
|
12 |
from modules.utils.paths import DEFAULT_PARAMETERS_CONFIG_PATH, NLLB_MODELS_DIR, TRANSLATION_OUTPUT_DIR
|
modules/whisper/{whisper_parameter.py → data_classes.py}
RENAMED
File without changes
|
modules/whisper/faster_whisper_inference.py
CHANGED
@@ -12,7 +12,7 @@ import gradio as gr
|
|
12 |
from argparse import Namespace
|
13 |
|
14 |
from modules.utils.paths import (FASTER_WHISPER_MODELS_DIR, DIARIZATION_MODELS_DIR, UVR_MODELS_DIR, OUTPUT_DIR)
|
15 |
-
from modules.whisper.
|
16 |
from modules.whisper.whisper_base import WhisperBase
|
17 |
|
18 |
|
|
|
12 |
from argparse import Namespace
|
13 |
|
14 |
from modules.utils.paths import (FASTER_WHISPER_MODELS_DIR, DIARIZATION_MODELS_DIR, UVR_MODELS_DIR, OUTPUT_DIR)
|
15 |
+
from modules.whisper.data_classes import *
|
16 |
from modules.whisper.whisper_base import WhisperBase
|
17 |
|
18 |
|
modules/whisper/insanely_fast_whisper_inference.py
CHANGED
@@ -12,7 +12,7 @@ from rich.progress import Progress, TimeElapsedColumn, BarColumn, TextColumn
|
|
12 |
from argparse import Namespace
|
13 |
|
14 |
from modules.utils.paths import (INSANELY_FAST_WHISPER_MODELS_DIR, DIARIZATION_MODELS_DIR, UVR_MODELS_DIR, OUTPUT_DIR)
|
15 |
-
from modules.whisper.
|
16 |
from modules.whisper.whisper_base import WhisperBase
|
17 |
|
18 |
|
|
|
12 |
from argparse import Namespace
|
13 |
|
14 |
from modules.utils.paths import (INSANELY_FAST_WHISPER_MODELS_DIR, DIARIZATION_MODELS_DIR, UVR_MODELS_DIR, OUTPUT_DIR)
|
15 |
+
from modules.whisper.data_classes import *
|
16 |
from modules.whisper.whisper_base import WhisperBase
|
17 |
|
18 |
|
modules/whisper/whisper_Inference.py
CHANGED
@@ -9,7 +9,7 @@ from argparse import Namespace
|
|
9 |
|
10 |
from modules.utils.paths import (WHISPER_MODELS_DIR, DIARIZATION_MODELS_DIR, OUTPUT_DIR, UVR_MODELS_DIR)
|
11 |
from modules.whisper.whisper_base import WhisperBase
|
12 |
-
from modules.whisper.
|
13 |
|
14 |
|
15 |
class WhisperInference(WhisperBase):
|
|
|
9 |
|
10 |
from modules.utils.paths import (WHISPER_MODELS_DIR, DIARIZATION_MODELS_DIR, OUTPUT_DIR, UVR_MODELS_DIR)
|
11 |
from modules.whisper.whisper_base import WhisperBase
|
12 |
+
from modules.whisper.data_classes import *
|
13 |
|
14 |
|
15 |
class WhisperInference(WhisperBase):
|
modules/whisper/whisper_base.py
CHANGED
@@ -18,7 +18,7 @@ from modules.utils.constants import AUTOMATIC_DETECTION
|
|
18 |
from modules.utils.subtitle_manager import get_srt, get_vtt, get_txt, write_file, safe_filename
|
19 |
from modules.utils.youtube_manager import get_ytdata, get_ytaudio
|
20 |
from modules.utils.files_manager import get_media_files, format_gradio_files, load_yaml, save_yaml
|
21 |
-
from modules.whisper.
|
22 |
from modules.diarize.diarizer import Diarizer
|
23 |
from modules.vad.silero_vad import SileroVAD
|
24 |
|
|
|
18 |
from modules.utils.subtitle_manager import get_srt, get_vtt, get_txt, write_file, safe_filename
|
19 |
from modules.utils.youtube_manager import get_ytdata, get_ytaudio
|
20 |
from modules.utils.files_manager import get_media_files, format_gradio_files, load_yaml, save_yaml
|
21 |
+
from modules.whisper.data_classes import *
|
22 |
from modules.diarize.diarizer import Diarizer
|
23 |
from modules.vad.silero_vad import SileroVAD
|
24 |
|
tests/test_bgm_separation.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from modules.utils.paths import *
|
2 |
from modules.whisper.whisper_factory import WhisperFactory
|
3 |
-
from modules.whisper.
|
4 |
from test_config import *
|
5 |
from test_transcription import download_file, test_transcribe
|
6 |
|
|
|
1 |
from modules.utils.paths import *
|
2 |
from modules.whisper.whisper_factory import WhisperFactory
|
3 |
+
from modules.whisper.data_classes import WhisperValues
|
4 |
from test_config import *
|
5 |
from test_transcription import download_file, test_transcribe
|
6 |
|
tests/test_diarization.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from modules.utils.paths import *
|
2 |
from modules.whisper.whisper_factory import WhisperFactory
|
3 |
-
from modules.whisper.
|
4 |
from test_config import *
|
5 |
from test_transcription import download_file, test_transcribe
|
6 |
|
|
|
1 |
from modules.utils.paths import *
|
2 |
from modules.whisper.whisper_factory import WhisperFactory
|
3 |
+
from modules.whisper.data_classes import WhisperValues
|
4 |
from test_config import *
|
5 |
from test_transcription import download_file, test_transcribe
|
6 |
|
tests/test_transcription.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
from modules.whisper.whisper_factory import WhisperFactory
|
2 |
-
from modules.whisper.
|
3 |
from modules.utils.paths import WEBUI_DIR
|
4 |
from test_config import *
|
5 |
|
|
|
1 |
from modules.whisper.whisper_factory import WhisperFactory
|
2 |
+
from modules.whisper.data_classes import WhisperValues
|
3 |
from modules.utils.paths import WEBUI_DIR
|
4 |
from test_config import *
|
5 |
|
tests/test_vad.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from modules.utils.paths import *
|
2 |
from modules.whisper.whisper_factory import WhisperFactory
|
3 |
-
from modules.whisper.
|
4 |
from test_config import *
|
5 |
from test_transcription import download_file, test_transcribe
|
6 |
|
|
|
1 |
from modules.utils.paths import *
|
2 |
from modules.whisper.whisper_factory import WhisperFactory
|
3 |
+
from modules.whisper.data_classes import WhisperValues
|
4 |
from test_config import *
|
5 |
from test_transcription import download_file, test_transcribe
|
6 |
|