vsrinivas commited on
Commit
6b97755
·
verified ·
1 Parent(s): fff1995

Rename Transcribe English Audio into any Language.py to app.py

Browse files
Transcribe English Audio into any Language.py → app.py RENAMED
@@ -1,11 +1,12 @@
1
  from transformers import pipeline
2
  from transformers.utils import logging
3
- logging.set_verbosity_error()
4
  import torch
5
  import pandas as pd
6
  import time
7
  import gradio as gr
8
 
 
 
9
  asr = pipeline(task="automatic-speech-recognition",
10
  # model="./models/distil-whisper/distil-small.en")
11
  model="distil-whisper/distil-small.en")
 
1
  from transformers import pipeline
2
  from transformers.utils import logging
 
3
  import torch
4
  import pandas as pd
5
  import time
6
  import gradio as gr
7
 
8
+ logging.set_verbosity_error()
9
+
10
  asr = pipeline(task="automatic-speech-recognition",
11
  # model="./models/distil-whisper/distil-small.en")
12
  model="distil-whisper/distil-small.en")