Sayiqa commited on
Commit
55a76d4
·
verified ·
1 Parent(s): 4728f17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
2
  import time
3
 
4
  from transformers import pipeline
 
5
  # Define the transcription function
6
  def transcribe(audio_path, state):
7
  try:
 
2
  import time
3
 
4
  from transformers import pipeline
5
+ p = pipeline("automatic-speech-recognition")
6
  # Define the transcription function
7
  def transcribe(audio_path, state):
8
  try: