Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -441,8 +441,8 @@ with demo:
|
|
441 |
Transcribe long-form microphone or audio inputs with the click of a button! The fine-tuned
|
442 |
checkpoint <a href='https://huggingface.co/{MODEL_NAME}' target='_blank'><b>{MODEL_NAME}</b></a> to transcribe audio files of arbitrary length.
|
443 |
''')
|
444 |
-
microphone = gr.Audio(
|
445 |
-
upload = gr.Audio(
|
446 |
transcribe_btn = gr.Button("Transcribe Audio")
|
447 |
text_output = gr.Textbox()
|
448 |
with gr.Row():
|
|
|
441 |
Transcribe long-form microphone or audio inputs with the click of a button! The fine-tuned
|
442 |
checkpoint <a href='https://huggingface.co/{MODEL_NAME}' target='_blank'><b>{MODEL_NAME}</b></a> to transcribe audio files of arbitrary length.
|
443 |
''')
|
444 |
+
microphone = gr.Audio(sources="microphone", type="filepath")
|
445 |
+
upload = gr.Audio(sources="upload", type="filepath")
|
446 |
transcribe_btn = gr.Button("Transcribe Audio")
|
447 |
text_output = gr.Textbox()
|
448 |
with gr.Row():
|