alnalda commited on
Commit
d06ab60
1 Parent(s): 4654be6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -12,6 +12,7 @@ from tqdm import tqdm
12
  import gradio as gr
13
 
14
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
15
  new_sample_rate = 8000
16
  transform = torchaudio.transforms.Resample(orig_freq=sample_rate, new_freq=new_sample_rate)
17
 
 
12
  import gradio as gr
13
 
14
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
15
+ sample_rate = 16000
16
  new_sample_rate = 8000
17
  transform = torchaudio.transforms.Resample(orig_freq=sample_rate, new_freq=new_sample_rate)
18