mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-04-29 12:00:00 +00:00
improve default_models
This commit is contained in:
parent
4f586ad513
commit
223f1bdaf5
4 changed files with 20 additions and 5 deletions
|
|
@ -73,7 +73,7 @@ def split_audio(input_file, segment_length_minutes=15, output_prefix=None):
|
|||
|
||||
|
||||
def extract_audio(data: SourceState):
|
||||
SPEECH_TO_TEXT_MODEL = model_manager.get_default_model("speech_to_text")
|
||||
SPEECH_TO_TEXT_MODEL = model_manager.speech_to_text
|
||||
|
||||
input_audio_path = data.get("file_path")
|
||||
audio_files = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue