AkitoP commited on
Commit
ab2fef5
·
verified ·
1 Parent(s): 0888de7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -22,6 +22,7 @@ generate_kwargs = {
22
  pipe = pipeline(
23
  "automatic-speech-recognition",
24
  model="AkitoP/whisper-large-v3-japense-phone_accent",
 
25
  device="cuda" if torch.cuda.is_available() else "cpu",
26
  )
27
 
 
22
  pipe = pipeline(
23
  "automatic-speech-recognition",
24
  model="AkitoP/whisper-large-v3-japense-phone_accent",
25
+ chunk_length_s=30,
26
  device="cuda" if torch.cuda.is_available() else "cpu",
27
  )
28