mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:01:08 +02:00
fix(stt): remove unsupported add_generation_prompt kwarg
This commit is contained in:
parent
a2233dc366
commit
bff80b552a
1 changed files with 0 additions and 1 deletions
|
|
@ -157,7 +157,6 @@ def transcribe_audio(
|
|||
inputs = processor.apply_chat_template(
|
||||
messages,
|
||||
tokenize=True,
|
||||
add_generation_prompt=True,
|
||||
return_tensors="pt",
|
||||
return_dict=True,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue