Spaces:
Runtime error
Runtime error
Commit
·
06cf57a
1
Parent(s):
bd045fa
Update app.py
Browse files
app.py
CHANGED
@@ -490,8 +490,8 @@ def main():
|
|
490 |
textbox_transcript2 = gr.TextArea(label="Transcript",
|
491 |
placeholder="Write transcript here. (leave empty to use whisper)",
|
492 |
value="", elem_id=f"prompt-name", visible=False)
|
493 |
-
upload_audio_prompt_2 = gr.Audio(label='
|
494 |
-
record_audio_prompt_2 = gr.Audio(label='
|
495 |
with gr.Column():
|
496 |
text_output_2 = gr.Textbox(label="音色提取进度")
|
497 |
prompt_output_2 = gr.File(interactive=False, visible=False)
|
|
|
490 |
textbox_transcript2 = gr.TextArea(label="Transcript",
|
491 |
placeholder="Write transcript here. (leave empty to use whisper)",
|
492 |
value="", elem_id=f"prompt-name", visible=False)
|
493 |
+
upload_audio_prompt_2 = gr.Audio(label='请在此上传您的语音文件', source='upload', interactive=True)
|
494 |
+
record_audio_prompt_2 = gr.Audio(label='或者用麦克风上传您喜欢的声音', source='microphone', interactive=True)
|
495 |
with gr.Column():
|
496 |
text_output_2 = gr.Textbox(label="音色提取进度")
|
497 |
prompt_output_2 = gr.File(interactive=False, visible=False)
|