Update app.py
Browse files
app.py
CHANGED
@@ -404,8 +404,8 @@ class App:
|
|
404 |
return gr.Dataframe(headers=["Text"],column_widths=["99%"])
|
405 |
|
406 |
@staticmethod
|
407 |
-
def get_transcription(input_params:
|
408 |
-
gr.Dataframe, gr.Files, gr.textbox = self.whisper_inf.transcribe_file(
|
409 |
return gr.Dataframe, gr.Files, gr.textbox
|
410 |
|
411 |
# Create the parser for command-line arguments
|
|
|
404 |
return gr.Dataframe(headers=["Text"],column_widths=["99%"])
|
405 |
|
406 |
@staticmethod
|
407 |
+
def get_transcription(input_params: list):
|
408 |
+
gr.Dataframe, gr.Files, gr.textbox = self.whisper_inf.transcribe_file(input_params)
|
409 |
return gr.Dataframe, gr.Files, gr.textbox
|
410 |
|
411 |
# Create the parser for command-line arguments
|