Spaces:
Running
Running
jhj0517
commited on
Commit
·
ce2f852
1
Parent(s):
a3de454
Clean import
Browse files
app.py
CHANGED
|
@@ -7,11 +7,8 @@ import yaml
|
|
| 7 |
from modules.utils.paths import (FASTER_WHISPER_MODELS_DIR, DIARIZATION_MODELS_DIR, OUTPUT_DIR, WHISPER_MODELS_DIR,
|
| 8 |
INSANELY_FAST_WHISPER_MODELS_DIR, NLLB_MODELS_DIR, DEFAULT_PARAMETERS_CONFIG_PATH,
|
| 9 |
UVR_MODELS_DIR, I18N_YAML_PATH)
|
| 10 |
-
from modules.utils.constants import AUTOMATIC_DETECTION
|
| 11 |
from modules.utils.files_manager import load_yaml
|
| 12 |
from modules.whisper.whisper_factory import WhisperFactory
|
| 13 |
-
from modules.whisper.faster_whisper_inference import FasterWhisperInference
|
| 14 |
-
from modules.whisper.insanely_fast_whisper_inference import InsanelyFastWhisperInference
|
| 15 |
from modules.translation.nllb_inference import NLLBInference
|
| 16 |
from modules.ui.htmls import *
|
| 17 |
from modules.utils.cli_manager import str2bool
|
|
@@ -290,7 +287,6 @@ class App:
|
|
| 290 |
|
| 291 |
# Launch the app with optional gradio settings
|
| 292 |
args = self.args
|
| 293 |
-
|
| 294 |
self.app.queue(
|
| 295 |
api_open=args.api_open
|
| 296 |
).launch(
|
|
|
|
| 7 |
from modules.utils.paths import (FASTER_WHISPER_MODELS_DIR, DIARIZATION_MODELS_DIR, OUTPUT_DIR, WHISPER_MODELS_DIR,
|
| 8 |
INSANELY_FAST_WHISPER_MODELS_DIR, NLLB_MODELS_DIR, DEFAULT_PARAMETERS_CONFIG_PATH,
|
| 9 |
UVR_MODELS_DIR, I18N_YAML_PATH)
|
|
|
|
| 10 |
from modules.utils.files_manager import load_yaml
|
| 11 |
from modules.whisper.whisper_factory import WhisperFactory
|
|
|
|
|
|
|
| 12 |
from modules.translation.nllb_inference import NLLBInference
|
| 13 |
from modules.ui.htmls import *
|
| 14 |
from modules.utils.cli_manager import str2bool
|
|
|
|
| 287 |
|
| 288 |
# Launch the app with optional gradio settings
|
| 289 |
args = self.args
|
|
|
|
| 290 |
self.app.queue(
|
| 291 |
api_open=args.api_open
|
| 292 |
).launch(
|