Spaces:
Running
Running
jhj0517
commited on
Commit
·
6873f5d
1
Parent(s):
2a934d1
add args for local model path
Browse files- user-start-webui.bat +2 -2
user-start-webui.bat
CHANGED
|
@@ -39,10 +39,10 @@ if /I "%API_OPEN%"=="true" (
|
|
| 39 |
set API_OPEN=--api_open
|
| 40 |
)
|
| 41 |
if not "%WHISPER_MODEL_DIR%"=="" (
|
| 42 |
-
set WHISPER_MODEL_DIR_ARG=--whisper_model_dir %WHISPER_MODEL_DIR%
|
| 43 |
)
|
| 44 |
if not "%FASTER_WHISPER_MODEL_DIR%"=="" (
|
| 45 |
-
set FASTER_WHISPER_MODEL_DIR_ARG=--faster_whisper_model_dir %FASTER_WHISPER_MODEL_DIR%
|
| 46 |
)
|
| 47 |
|
| 48 |
:: Call the original .bat script with optional arguments
|
|
|
|
| 39 |
set API_OPEN=--api_open
|
| 40 |
)
|
| 41 |
if not "%WHISPER_MODEL_DIR%"=="" (
|
| 42 |
+
set WHISPER_MODEL_DIR_ARG=--whisper_model_dir "%WHISPER_MODEL_DIR%"
|
| 43 |
)
|
| 44 |
if not "%FASTER_WHISPER_MODEL_DIR%"=="" (
|
| 45 |
+
set FASTER_WHISPER_MODEL_DIR_ARG=--faster_whisper_model_dir "%FASTER_WHISPER_MODEL_DIR%"
|
| 46 |
)
|
| 47 |
|
| 48 |
:: Call the original .bat script with optional arguments
|