Kimang18 commited on
Commit
bee2ee7
·
verified ·
1 Parent(s): 7417265

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ model = TrorYongASRModel.from_pretrained(model_id, trust_remote_code=True)
16
 
17
  @torch.no_grad()
18
  def transcribe_easier(filepath):
19
- output=transcribe(filepath)
20
  return output
21
 
22
  iface = gr.Interface(
 
16
 
17
  @torch.no_grad()
18
  def transcribe_easier(filepath):
19
+ output=transcribe(filepath, model, processor, max_tokens=1024)
20
  return output
21
 
22
  iface = gr.Interface(