Spaces:
Build error
Build error
Update app.py
Browse files
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(
|
| 35 |
-
return result
|
| 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(
|