yaya-sy commited on
Commit
a320278
1 Parent(s): 6557512

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  import librosa
5
  import json
6
 
7
- max_duration = int(30 * sr)
8
 
9
  def load_model(model_name = "cawoylel/windanam_mms-1b-tts_v2"):
10
  """
 
4
  import librosa
5
  import json
6
 
7
+ max_duration = int(30 * 16000)
8
 
9
  def load_model(model_name = "cawoylel/windanam_mms-1b-tts_v2"):
10
  """