Update modules/whisper/whisper_base.py
Browse files
modules/whisper/whisper_base.py
CHANGED
@@ -235,6 +235,8 @@ class WhisperBase(ABC):
|
|
235 |
|
236 |
def transcribe_file(self,
|
237 |
files: Optional[List] = None,
|
|
|
|
|
238 |
input_folder_path: Optional[str] = None,
|
239 |
file_format: list = ["CSV"],
|
240 |
add_timestamp: bool = True,
|
@@ -252,6 +254,10 @@ class WhisperBase(ABC):
|
|
252 |
----------
|
253 |
files: list
|
254 |
List of files to transcribe from gr.Files()
|
|
|
|
|
|
|
|
|
255 |
input_folder_path: str
|
256 |
Input folder path to transcribe from gr.Textbox(). If this is provided, `files` will be ignored and
|
257 |
this will be used instead.
|
|
|
235 |
|
236 |
def transcribe_file(self,
|
237 |
files: Optional[List] = None,
|
238 |
+
files_multi: Optional[List] = None,
|
239 |
+
input_multi: bool : False,
|
240 |
input_folder_path: Optional[str] = None,
|
241 |
file_format: list = ["CSV"],
|
242 |
add_timestamp: bool = True,
|
|
|
254 |
----------
|
255 |
files: list
|
256 |
List of files to transcribe from gr.Files()
|
257 |
+
files_multi: list
|
258 |
+
List of files to transcribe from gr.Files_multi()
|
259 |
+
input_multi: bool
|
260 |
+
Process single or multiple files
|
261 |
input_folder_path: str
|
262 |
Input folder path to transcribe from gr.Textbox(). If this is provided, `files` will be ignored and
|
263 |
this will be used instead.
|