Spaces:
Sleeping
Sleeping
yellowcandle
commited on
Commit
•
f6b2f01
1
Parent(s):
d64f7f8
fixed typo
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ with gr.Blocks() as demo:
|
|
58 |
gr.Markdown("Upload an audio file, select a model for transcription, and then proofread the transcribed text.")
|
59 |
|
60 |
with gr.Row():
|
61 |
-
audio = gr.Audio(
|
62 |
model_dropdown = gr.Dropdown(choices=["openai/whisper-large-v3", "alvanlii/whisper-small-cantonese"])
|
63 |
|
64 |
transcribe_button = gr.Button("Transcribe")
|
|
|
58 |
gr.Markdown("Upload an audio file, select a model for transcription, and then proofread the transcribed text.")
|
59 |
|
60 |
with gr.Row():
|
61 |
+
audio = gr.Audio(sources="upload", type="filepath")
|
62 |
model_dropdown = gr.Dropdown(choices=["openai/whisper-large-v3", "alvanlii/whisper-small-cantonese"])
|
63 |
|
64 |
transcribe_button = gr.Button("Transcribe")
|