Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -285,6 +285,10 @@ class WhisperBase(ABC):
|
|
285 |
result_file_path:
|
286 |
Output file path to return to gr.Files()
|
287 |
"""
|
|
|
|
|
|
|
|
|
288 |
try:
|
289 |
if input_folder_path:
|
290 |
files = get_media_files(input_folder_path)
|
|
|
285 |
result_file_path:
|
286 |
Output file path to return to gr.Files()
|
287 |
"""
|
288 |
+
|
289 |
+
if input_multi:
|
290 |
+
files = files_multi
|
291 |
+
|
292 |
try:
|
293 |
if input_folder_path:
|
294 |
files = get_media_files(input_folder_path)
|