Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -865,13 +865,6 @@ if __name__ == "__main__":
|
|
865 |
btnMod = gr.Button("载入模型")
|
866 |
statusa = gr.TextArea(label = "模型加载状态")
|
867 |
btnMod.click(loadmodel, inputs=[modelstrs], outputs = [statusa])
|
868 |
-
text_to_translate = gr.TextArea(
|
869 |
-
label="待翻译文本输入",
|
870 |
-
info="输入",
|
871 |
-
)
|
872 |
-
btntran = gr.Button("快速中翻日")
|
873 |
-
translateResult = gr.TextArea(label="使用百度翻译",placeholder="从这里复制翻译后的文本")
|
874 |
-
btntran.click(translate, inputs=[text_to_translate], outputs = [translateResult])
|
875 |
with gr.Column():
|
876 |
text = gr.TextArea(
|
877 |
label="文本输入,可用'|'分割说话人和文本,注意换行",
|
|
|
865 |
btnMod = gr.Button("载入模型")
|
866 |
statusa = gr.TextArea(label = "模型加载状态")
|
867 |
btnMod.click(loadmodel, inputs=[modelstrs], outputs = [statusa])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
868 |
with gr.Column():
|
869 |
text = gr.TextArea(
|
870 |
label="文本输入,可用'|'分割说话人和文本,注意换行",
|