ysharma HF staff commited on
Commit
6f33cff
·
1 Parent(s): 7aecf5a

update the duplicate space message

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,7 +38,7 @@ def translate_Chinese_English(chinese_text):
38
  title = """<h1 align="center"> 🚀CHatGLM-6B - A Streaming Chatbot with Gradio</h1>
39
  <h2 align="center">Enhance User Experience with Streaming and customizable Gradio Themes</h2>"""
40
  header = """<center>Find on Huggingface at <a href="https://huggingface.co/THUDM/chatglm-6b" target="_blank">THUDM/chatglm-6b</a>, and <a href="https://github.com/THUDM/ChatGLM-6B" target="_blank">here</a> on Github.<center>"""
41
- description = """
42
  ChatGLM-6B is an open-source, Chinese-English bilingual dialogue language model based on the General Language Model (GLM) architecture with 6.2 billion parameters.
43
 
44
  However, due to the small size of ChatGLM-6B, it is currently known to have considerable limitations, such as factual/mathematical logic errors, possible generation of harmful/biased content, weak contextual ability, self-awareness confusion, and Generate content that completely contradicts Chinese instructions for English instructions. Please understand these issues before use to avoid misunderstandings. A larger ChatGLM based on the 130 billion parameter GLM-130B is under development in internal testing.
@@ -84,6 +84,6 @@ with gr.Blocks(css="""#col_container {margin-left: auto; margin-right: auto;}
84
 
85
  b2.click(lambda: None, None, chatbot_glm, queue=False)
86
 
87
- gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/ChatGLM-6b_Gradio_Streaming?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>Duplicate the Space and run securely with your OpenAI API Key</center>''')
88
  gr.Markdown(description)
89
  demo.queue(concurrency_count=16).launch(height= 800, debug=True)
 
38
  title = """<h1 align="center"> 🚀CHatGLM-6B - A Streaming Chatbot with Gradio</h1>
39
  <h2 align="center">Enhance User Experience with Streaming and customizable Gradio Themes</h2>"""
40
  header = """<center>Find on Huggingface at <a href="https://huggingface.co/THUDM/chatglm-6b" target="_blank">THUDM/chatglm-6b</a>, and <a href="https://github.com/THUDM/ChatGLM-6B" target="_blank">here</a> on Github.<center>"""
41
+ description = """<br>
42
  ChatGLM-6B is an open-source, Chinese-English bilingual dialogue language model based on the General Language Model (GLM) architecture with 6.2 billion parameters.
43
 
44
  However, due to the small size of ChatGLM-6B, it is currently known to have considerable limitations, such as factual/mathematical logic errors, possible generation of harmful/biased content, weak contextual ability, self-awareness confusion, and Generate content that completely contradicts Chinese instructions for English instructions. Please understand these issues before use to avoid misunderstandings. A larger ChatGLM based on the 130 billion parameter GLM-130B is under development in internal testing.
 
84
 
85
  b2.click(lambda: None, None, chatbot_glm, queue=False)
86
 
87
+ gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/ChatGLM-6b_Gradio_Streaming?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a>To avoid the queue and for faster inference Duplicate this Space and upgrade to GPU</center>''')
88
  gr.Markdown(description)
89
  demo.queue(concurrency_count=16).launch(height= 800, debug=True)