Spaces:
Build error
Build error
remove {'sources': ['microphone', 'upload']}
Browse files
app.py
CHANGED
@@ -720,7 +720,7 @@ with gr.Blocks(theme='remilia/Ghostly') as app:
|
|
720 |
需要3~10秒语音,这个会涉及语音转文字,之后再转语音,所以耗时比较久
|
721 |
</p>''')
|
722 |
with gr.Row():
|
723 |
-
user_voice = gr.Audio(
|
724 |
user_text= gr.Textbox(label="Text for generation/输入想要生成语音的文字", lines=8,scale=5,
|
725 |
placeholder=plsh)
|
726 |
|
|
|
720 |
需要3~10秒语音,这个会涉及语音转文字,之后再转语音,所以耗时比较久
|
721 |
</p>''')
|
722 |
with gr.Row():
|
723 |
+
user_voice = gr.Audio(type="filepath", label="(3~10s)Upload or Record audio/上传或录制声音",scale=3)
|
724 |
user_text= gr.Textbox(label="Text for generation/输入想要生成语音的文字", lines=8,scale=5,
|
725 |
placeholder=plsh)
|
726 |
|