thak123 commited on
Commit
f312b6f
·
verified ·
1 Parent(s): 283d5f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def transcribe_speech(filepath):
30
  # torchaudio.save(filepath, waveform_16k, 16000)
31
  output = pipe(
32
  filepath,
33
- max_new_tokens=0,
34
  generate_kwargs={
35
  "task": "transcribe",
36
  # "language": "konkani",
 
30
  # torchaudio.save(filepath, waveform_16k, 16000)
31
  output = pipe(
32
  filepath,
33
+ max_new_tokens=3,
34
  generate_kwargs={
35
  "task": "transcribe",
36
  # "language": "konkani",