Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -513,8 +513,8 @@ with app:
|
|
| 513 |
textbox_transcript2 = gr.TextArea(label="Transcript",
|
| 514 |
placeholder="Write transcript here. (leave empty to use whisper)",
|
| 515 |
value="", elem_id=f"prompt-name")
|
| 516 |
-
upload_audio_prompt_2 = gr.Audio(label='uploaded audio prompt',
|
| 517 |
-
record_audio_prompt_2 = gr.Audio(label='recorded audio prompt',
|
| 518 |
with gr.Column():
|
| 519 |
text_output_2 = gr.Textbox(label="Message")
|
| 520 |
prompt_output_2 = gr.File(interactive=False)
|
|
|
|
| 513 |
textbox_transcript2 = gr.TextArea(label="Transcript",
|
| 514 |
placeholder="Write transcript here. (leave empty to use whisper)",
|
| 515 |
value="", elem_id=f"prompt-name")
|
| 516 |
+
upload_audio_prompt_2 = gr.Audio(label='uploaded audio prompt', sources=['upload'], interactive=True)
|
| 517 |
+
record_audio_prompt_2 = gr.Audio(label='recorded audio prompt', sources=['microphone'], interactive=True)
|
| 518 |
with gr.Column():
|
| 519 |
text_output_2 = gr.Textbox(label="Message")
|
| 520 |
prompt_output_2 = gr.File(interactive=False)
|