Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -102,16 +102,14 @@ def bot(
|
|
| 102 |
with gr.Blocks(
|
| 103 |
theme=gr.themes.Soft()
|
| 104 |
) as demo:
|
| 105 |
-
gr.Markdown(
|
| 106 |
-
f"""<h1><center>上师附外-兮辞·析辞-人工智能助理</center></h1>
|
| 107 |
这儿是一个__中文__模型的部署。
|
| 108 |
这是量化版兮辞·析辞的部署,具有__70亿__个参数,在 CPU 上运行。
|
| 109 |
SLIDE 是一种会话语言模型,在多种类型的语料库上进行训练。
|
| 110 |
-
本节目由上海师范大学附属外国语中学__NLPark__赞助播出~
|
| 111 |
-
|
| 112 |
-
)
|
| 113 |
with gr.Row():
|
| 114 |
-
with gr.Column(scale=
|
| 115 |
chatbot = gr.Chatbot(label="兮辞如是说").style(height=400)
|
| 116 |
system_prompt = gr.Textbox(label="系统提示词", placeholder="", value=SYSTEM_PROMPT, interactive=False, lines=5)
|
| 117 |
with gr.Column(min_width=80, scale=1):
|
|
|
|
| 102 |
with gr.Blocks(
|
| 103 |
theme=gr.themes.Soft()
|
| 104 |
) as demo:
|
| 105 |
+
gr.Markdown(value="<h1><center>上师附外-兮辞·析辞-人工智能助理</center></h1>
|
|
|
|
| 106 |
这儿是一个__中文__模型的部署。
|
| 107 |
这是量化版兮辞·析辞的部署,具有__70亿__个参数,在 CPU 上运行。
|
| 108 |
SLIDE 是一种会话语言模型,在多种类型的语料库上进行训练。
|
| 109 |
+
本节目由上海师范大学附属外国语中学__NLPark__赞助播出~")
|
| 110 |
+
|
|
|
|
| 111 |
with gr.Row():
|
| 112 |
+
with gr.Column(scale=7):
|
| 113 |
chatbot = gr.Chatbot(label="兮辞如是说").style(height=400)
|
| 114 |
system_prompt = gr.Textbox(label="系统提示词", placeholder="", value=SYSTEM_PROMPT, interactive=False, lines=5)
|
| 115 |
with gr.Column(min_width=80, scale=1):
|