DeepLearning101 commited on
Commit
1964be5
·
verified ·
1 Parent(s): 5930c83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -54,11 +54,13 @@ def handle_input(user_input):
54
  # Define Gradio interface
55
  user_input = gr.Textbox(label='歡迎問我加密貨幣交易所的各種疑難雜症')
56
  examples = [
57
- ["新台幣出金到 Bankee 交易帳戶要多久?"],
58
- ["銀行為何匯1元到我的帳戶??"]
 
 
59
  ]
60
 
61
- TITLE = """<h1 align="center">Large Language Model (LLM) Playground 💬 Cryptocurrency Exchange FAQ </h1>"""
62
  SUBTITLE = """<h2 align="center"><a href='https://www.twman.org' target='_blank'>TonTon Huang Ph.D. @ 2024/06 </a><br></h2>"""
63
  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>
64
  <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>"""
@@ -71,7 +73,7 @@ with gr.Blocks() as iface:
71
  fn=handle_input,
72
  inputs=user_input,
73
  outputs="text",
74
- # examples=examples,
75
  allow_flagging="never"
76
  )
77
 
 
54
  # Define Gradio interface
55
  user_input = gr.Textbox(label='歡迎問我加密貨幣交易所的各種疑難雜症')
56
  examples = [
57
+ ["MAX 帳號刪除關戶後,又重新註冊 MAX 後要怎辦?"],
58
+ ["開通約定帳號"],
59
+ ["客服專線?"],
60
+ ["客服信箱?"]
61
  ]
62
 
63
+ TITLE = """<h1 align="center">Large Language Model (LLM) Playground 💬 <a href='https://support.maicoin.com/zh-TW/support/home' target='_blank'>Cryptocurrency Exchange FAQ</a></h1>"""
64
  SUBTITLE = """<h2 align="center"><a href='https://www.twman.org' target='_blank'>TonTon Huang Ph.D. @ 2024/06 </a><br></h2>"""
65
  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>
66
  <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>"""
 
73
  fn=handle_input,
74
  inputs=user_input,
75
  outputs="text",
76
+ examples=examples,
77
  allow_flagging="never"
78
  )
79