Harveenchadha commited on
Commit
8308cd8
1 Parent(s): 0d4a5c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -3,11 +3,9 @@ import torch
3
  from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
4
  import argparse
5
  from glob import glob
6
- import torchaudio
7
  import subprocess
8
  import gradio as gr
9
 
10
- resampler = torchaudio.transforms.Resample(48_000, 16_000)
11
 
12
  def get_filename(wav_file):
13
  filename_local = wav_file.split('/')[-1][:-4]
 
3
  from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
4
  import argparse
5
  from glob import glob
 
6
  import subprocess
7
  import gradio as gr
8
 
 
9
 
10
  def get_filename(wav_file):
11
  filename_local = wav_file.split('/')[-1][:-4]