修改部分文字

This commit is contained in:
william 2024-09-18 15:02:32 +08:00
parent 373895b773
commit 0b4e562b96

View File

@ -137,7 +137,7 @@ def convert_to_docx(text):
with gr.Blocks() as iface:
gr.Markdown("# 大模型工具集")
with gr.Tabs():
with gr.TabItem("处理并转写"):
with gr.TabItem("音频转写"):
with gr.Row():
audio_input = gr.Audio(type="filepath", label="上传音频文件")
with gr.Column():
@ -153,7 +153,7 @@ with gr.Blocks() as iface:
process_button.click(process_audio, inputs=[audio_input, offset_input, duration_input], outputs=output_file)
direct_transcribe_button.click(direct_transcribe, inputs=[audio_input, offset_input, duration_input],
outputs=output_file)
with gr.TabItem("批量处理"):
with gr.TabItem("音频批量转写"):
with gr.Row():
link_upload = gr.HTML(value='<a href="https://webd.willking.tech" target="_blank">点击上传文件</a>')
with gr.Row():
@ -171,8 +171,8 @@ with gr.Blocks() as iface:
batch_process_button.click(batch_transcribe, outputs=batch_output_file)
with gr.Tab("Markdown 转 DOCX"):
gr.Markdown("## Markdown 转 DOCX 转换器")
with gr.Tab("Markdown 转 Word"):
gr.Markdown("## Markdown 转 Word 转换器")
with gr.Row():
text_input = gr.Textbox(lines=10, placeholder="请在此输入 Markdown 内容...")
with gr.Row():