avimittal30 commited on
Commit
936827b
·
verified ·
1 Parent(s): ef45f89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -31,8 +31,8 @@ pipe = pipeline(
31
  # @spaces.GPU
32
  def transcribe(audio):
33
  # Load and preprocess the audio
34
- result = pipe(sample)
35
- return result["text"]
36
 
37
  # Gradio interface
38
  interface = gr.Interface(
 
31
  # @spaces.GPU
32
  def transcribe(audio):
33
  # Load and preprocess the audio
34
+ result = pipe(audio)["text"]
35
+ return result
36
 
37
  # Gradio interface
38
  interface = gr.Interface(