DeepLearning101 commited on
Commit
33ebfc4
·
verified ·
1 Parent(s): ccabf2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -55,6 +55,11 @@ with gr.Blocks() as demo:
55
  # 使用 binary 作为文件类型,这样上传的文件将以二进制形式传递给函数
56
  correct_file = gr.File(label="上傳校正過的逐字稿文本文件", type="binary")
57
  wrong_file = gr.File(label="上傳未校正的ASR辨識文本文件", type="binary")
 
 
 
 
 
58
 
59
  compare_button = gr.Button("比較文本")
60
  correct_text_output = gr.TextArea(label="校正過的逐字稿文本內容")
 
55
  # 使用 binary 作为文件类型,这样上传的文件将以二进制形式传递给函数
56
  correct_file = gr.File(label="上傳校正過的逐字稿文本文件", type="binary")
57
  wrong_file = gr.File(label="上傳未校正的ASR辨識文本文件", type="binary")
58
+ title="逐字稿文本內容比對工具",
59
+ description="""<a href='https://www.twman.org' target='_blank'>TonTon Huang Ph.D. @ 2024/04 </a><br>
60
+ <a href='https://blog.twman.org/2024/02/asr-tts.html' target='_blank'>那些ASR和TTS可能會踩的坑</a><br>
61
+ <a href='https://blog.twman.org/2021/04/ASR.html' target='_blank'>那些語音處理踩的坑</a><br>
62
+ <a href='https://blog.twman.org/2021/04/NLP.html' target='_blank'>那些自然語言處理踩的坑</a>""",
63
 
64
  compare_button = gr.Button("比較文本")
65
  correct_text_output = gr.TextArea(label="校正過的逐字稿文本內容")