Spaces:
Runtime error
Runtime error
Update src/config.py
Browse files- src/config.py +1 -1
src/config.py
CHANGED
@@ -51,7 +51,7 @@ class VadInitialPromptMode(Enum):
|
|
51 |
|
52 |
class ApplicationConfig:
|
53 |
def __init__(self, models: Dict[Literal["whisper", "m2m100", "nllb", "mt5", "ALMA", "madlad400"], List[ModelConfig]],
|
54 |
-
input_audio_max_duration: int =
|
55 |
queue_concurrency_count: int = 1, delete_uploaded_files: bool = True,
|
56 |
whisper_implementation: str = "whisper", default_model_name: str = "medium",
|
57 |
default_vad: str = "silero-vad",
|
|
|
51 |
|
52 |
class ApplicationConfig:
|
53 |
def __init__(self, models: Dict[Literal["whisper", "m2m100", "nllb", "mt5", "ALMA", "madlad400"], List[ModelConfig]],
|
54 |
+
input_audio_max_duration: int = -1, share: bool = False, server_name: str = None, server_port: int = 7860,
|
55 |
queue_concurrency_count: int = 1, delete_uploaded_files: bool = True,
|
56 |
whisper_implementation: str = "whisper", default_model_name: str = "medium",
|
57 |
default_vad: str = "silero-vad",
|