Update app.py
Browse files
app.py
CHANGED
@@ -136,6 +136,10 @@ def show_feedback():
|
|
136 |
return f"Error: {e}"
|
137 |
|
138 |
TITLE = """<h1 align="center">大型語言模型 (LLM) 聊天界面 💬</h1>"""
|
|
|
|
|
|
|
|
|
139 |
|
140 |
# 添加示例
|
141 |
examples = [
|
@@ -145,6 +149,8 @@ examples = [
|
|
145 |
|
146 |
with gr.Blocks() as iface:
|
147 |
gr.HTML(TITLE)
|
|
|
|
|
148 |
with gr.Row():
|
149 |
chatbot = gr.Chatbot()
|
150 |
|
|
|
136 |
return f"Error: {e}"
|
137 |
|
138 |
TITLE = """<h1 align="center">大型語言模型 (LLM) 聊天界面 💬</h1>"""
|
139 |
+
SUBTITLE = """<h2 align="center"><a href='https://www.twman.org' target='_blank'>TonTon Huang Ph.D. @ 2024/06 </a><br></h2>"""
|
140 |
+
LINKS = """<a href='https://blog.twman.org/2021/04/ASR.html' target='_blank'>那些語音處理 (Speech Processing) 踩的坑</a> | <a href='https://blog.twman.org/2021/04/NLP.html' target='_blank'>那些自然語言處理 (Natural Language Processing, NLP) 踩的坑</a> | <a href='https://blog.twman.org/2024/02/asr-tts.html' target='_blank'>那些ASR和TTS可能會踩的坑</a> | <a href='https://blog.twman.org/2024/02/LLM.html' target='_blank'>那些大模型開發會踩的坑</a> | <a href='https://blog.twman.org/2023/04/GPT.html' target='_blank'>什麼是大語言模型,它是什麼?想要嗎?</a><br>
|
141 |
+
<a href='https://blog.twman.org/2023/07/wsl.html' target='_blank'>用PaddleOCR的PPOCRLabel來微調醫療診斷書和收據</a> | <a href='https://blog.twman.org/2023/07/HugIE.html' target='_blank'>基於機器閱讀理解和指令微調的統一信息抽取框架之診斷書醫囑資訊擷取分析</a><br>
|
142 |
+
<a href='https://huggingface.co/spaces/DeepLearning101/High-Entropy-Alloys-FAQ/blob/main/reference.txt' target='_blank'>「高熵合金」(High-entropy alloys) 參考論文</a><br>"""
|
143 |
|
144 |
# 添加示例
|
145 |
examples = [
|
|
|
149 |
|
150 |
with gr.Blocks() as iface:
|
151 |
gr.HTML(TITLE)
|
152 |
+
gr.HTML(SUBTITLE)
|
153 |
+
gr.HTML(LINKS)
|
154 |
with gr.Row():
|
155 |
chatbot = gr.Chatbot()
|
156 |
|