manmeetkaurbaxi commited on
Commit
c47d978
·
1 Parent(s): e99751d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -15,6 +15,7 @@ DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
15
  MODEL = SpeechRecognitionModel("jonatasgrosman/wav2vec2-large-xlsr-53-english", device = DEVICE)
16
  summarizationPipeline = pipeline('summarization') # Hugging Face's default summarization pipeline
17
  SAMPLING_RATE = 16000
 
18
  torch.set_num_threads(1)
19
 
20
  def transcribeVideo(VIDEO_URL):
 
15
  MODEL = SpeechRecognitionModel("jonatasgrosman/wav2vec2-large-xlsr-53-english", device = DEVICE)
16
  summarizationPipeline = pipeline('summarization') # Hugging Face's default summarization pipeline
17
  SAMPLING_RATE = 16000
18
+ USE_ONNX = False
19
  torch.set_num_threads(1)
20
 
21
  def transcribeVideo(VIDEO_URL):