ClueAI commited on
Commit
95d2f97
1 Parent(s): feaebb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -62,7 +62,7 @@ block = gr.Blocks()
62
  with block as demo:
63
  gr.Markdown("""<h1><center>元语智能——ChatYuan</center></h1>
64
  <font size=4>回答来自ChatYuan, 是模型生成的结果, 请谨慎辨别和参考, 不代表任何人观点 | Answer generated by ChatYuan model</font>
65
-
66
  """)
67
  chatbot = gr.Chatbot(label='ChatYuan')
68
  message = gr.Textbox()
@@ -117,7 +117,7 @@ block = gr.Blocks()
117
  with block as demo_1:
118
  gr.Markdown("""<h1><center>元语智能——ChatYuan</center></h1>
119
  <font size=4>回答来自ChatYuan, 以上是模型生成的结果, 请谨慎辨别和参考, 不代表任何人观点 | Answer generated by ChatYuan model</font>
120
-
121
  <font size=4>在使用此功能前,你需要有个API key. API key 可以通过这个<a href='https://www.clueai.cn/' target="_blank">平台</a>获取</font>
122
  """)
123
  api_key = gr.inputs.Textbox(label="请输入你的api-key(必填)", default="", type='password')
@@ -179,7 +179,7 @@ Based on the original functions of Chatyuan-large-v1, we optimized the model as
179
  <br>
180
  &nbsp; <a href='https://modelscope.cn/models/ClueAI/ChatYuan-large/summary' target="_blank">ModelScope</a> &nbsp; | &nbsp; <a href='https://huggingface.co/ClueAI/ChatYuan-large-v1' target="_blank">Huggingface</a> &nbsp; | &nbsp; <a href='https://www.clueai.cn' target="_blank">官网体验场</a> &nbsp; | &nbsp; <a href='https://github.com/clue-ai/clueai-python#ChatYuan%E5%8A%9F%E8%83%BD%E5%AF%B9%E8%AF%9D' target="_blank">ChatYuan-API</a> &nbsp; | &nbsp; <a href='https://github.com/clue-ai/ChatYuan' target="_blank">Github项目地址</a> &nbsp; | &nbsp; <a href='https://openi.pcl.ac.cn/ChatYuan/ChatYuan/src/branch/main/Fine_tuning_ChatYuan_large_with_pCLUE.ipynb' target="_blank">OpenI免费试用</a> &nbsp;
181
  </font>
182
- <a href="https://clustrmaps.com/site/1bts0" title="Visit tracker"><img src="//www.clustrmaps.com/map_v2.png?d=ycVCe17noTYFDs30w7AmkFaE-TwabMBukDP1802_Lts&cl=ffffff" /></a>
183
  """)
184
 
185
 
 
62
  with block as demo:
63
  gr.Markdown("""<h1><center>元语智能——ChatYuan</center></h1>
64
  <font size=4>回答来自ChatYuan, 是模型生成的结果, 请谨慎辨别和参考, 不代表任何人观点 | Answer generated by ChatYuan model</font>
65
+ <font size=4>注意:gradio对markdown代码格式展示有限</font>
66
  """)
67
  chatbot = gr.Chatbot(label='ChatYuan')
68
  message = gr.Textbox()
 
117
  with block as demo_1:
118
  gr.Markdown("""<h1><center>元语智能——ChatYuan</center></h1>
119
  <font size=4>回答来自ChatYuan, 以上是模型生成的结果, 请谨慎辨别和参考, 不代表任何人观点 | Answer generated by ChatYuan model</font>
120
+ <font size=4>注意:gradio对markdown代码格式展示有限</font>
121
  <font size=4>在使用此功能前,你需要有个API key. API key 可以通过这个<a href='https://www.clueai.cn/' target="_blank">平台</a>获取</font>
122
  """)
123
  api_key = gr.inputs.Textbox(label="请输入你的api-key(必填)", default="", type='password')
 
179
  <br>
180
  &nbsp; <a href='https://modelscope.cn/models/ClueAI/ChatYuan-large/summary' target="_blank">ModelScope</a> &nbsp; | &nbsp; <a href='https://huggingface.co/ClueAI/ChatYuan-large-v1' target="_blank">Huggingface</a> &nbsp; | &nbsp; <a href='https://www.clueai.cn' target="_blank">官网体验场</a> &nbsp; | &nbsp; <a href='https://github.com/clue-ai/clueai-python#ChatYuan%E5%8A%9F%E8%83%BD%E5%AF%B9%E8%AF%9D' target="_blank">ChatYuan-API</a> &nbsp; | &nbsp; <a href='https://github.com/clue-ai/ChatYuan' target="_blank">Github项目地址</a> &nbsp; | &nbsp; <a href='https://openi.pcl.ac.cn/ChatYuan/ChatYuan/src/branch/main/Fine_tuning_ChatYuan_large_with_pCLUE.ipynb' target="_blank">OpenI免费试用</a> &nbsp;
181
  </font>
182
+ <center><a href="https://clustrmaps.com/site/1bts0" title="Visit tracker"><img src="//www.clustrmaps.com/map_v2.png?d=ycVCe17noTYFDs30w7AmkFaE-TwabMBukDP1802_Lts&cl=ffffff" /></a></center>
183
  """)
184
 
185