Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -268,13 +268,13 @@ with block:
|
|
268 |
|
269 |
btn = gr.Button("开始对话吧")
|
270 |
|
271 |
-
|
272 |
|
273 |
-
btn.click(evaluate, [inp1, inp2], [
|
274 |
|
275 |
with gr.Box():
|
276 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
277 |
-
inp3 =
|
278 |
inp4 = gr.Audio(source="upload", label = "请上传您喜欢的声音(wav/mp3文件, max. 30mb)", type="filepath")
|
279 |
inp5 = gr.Audio(source="microphone", type="filepath", label = '请用麦克风上传您喜欢的声音,与文件上传二选一即可')
|
280 |
|
|
|
268 |
|
269 |
btn = gr.Button("开始对话吧")
|
270 |
|
271 |
+
texts = gr.Textbox(lines=5, label="Raven的回答")
|
272 |
|
273 |
+
btn.click(evaluate, [inp1, inp2], [texts])
|
274 |
|
275 |
with gr.Box():
|
276 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
277 |
+
inp3 = texts
|
278 |
inp4 = gr.Audio(source="upload", label = "请上传您喜欢的声音(wav/mp3文件, max. 30mb)", type="filepath")
|
279 |
inp5 = gr.Audio(source="microphone", type="filepath", label = '请用麦克风上传您喜欢的声音,与文件上传二选一即可')
|
280 |
|