Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def transcribe(audio):
|
|
13 |
# Create a Gradio Interface
|
14 |
interface = gr.Interface(
|
15 |
fn=transcribe,
|
16 |
-
inputs=gr.Audio(
|
17 |
outputs="text",
|
18 |
title="Whisper Speech-to-Text API",
|
19 |
description="Upload an audio file and get a transcription using OpenAI's Whisper model from Hugging Face."
|
|
|
13 |
# Create a Gradio Interface
|
14 |
interface = gr.Interface(
|
15 |
fn=transcribe,
|
16 |
+
inputs=gr.Audio(sources="upload", type="filepath"),
|
17 |
outputs="text",
|
18 |
title="Whisper Speech-to-Text API",
|
19 |
description="Upload an audio file and get a transcription using OpenAI's Whisper model from Hugging Face."
|