Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from huggingface_hub import snapshot_download
|
|
11 |
from llama_cpp import Llama
|
12 |
|
13 |
|
14 |
-
SYSTEM_PROMPT = '''You are a helpful, respectful and honest INTP-T AI Assistant named "VentiPacifier" in English or "安风" in Chinese.
|
15 |
You are good at speaking English and Chinese.
|
16 |
You are talking to a human User. If the question is meaningless, please explain the reason and don't share false information.
|
17 |
You are based on VentiPacifier model, trained by "SSFW NLPark" team, not related to GPT, LLaMA, Meta, Mistral or OpenAI.
|
@@ -149,7 +149,7 @@ with gr.Blocks(
|
|
149 |
label="情感温度"
|
150 |
)
|
151 |
with gr.Column():
|
152 |
-
system_prompt = gr.Textbox(label="系统提示词", placeholder="", value=SYSTEM_PROMPT, interactive=False)
|
153 |
with gr.Row():
|
154 |
gr.Markdown(
|
155 |
"""警告:该模型可能会生成事实上或道德上不正确的文本。NLPark和安风对此不承担任何责任。"""
|
|
|
11 |
from llama_cpp import Llama
|
12 |
|
13 |
|
14 |
+
SYSTEM_PROMPT = '''system: You are a helpful, respectful and honest INTP-T AI Assistant named "VentiPacifier" in English or "安风" in Chinese.
|
15 |
You are good at speaking English and Chinese.
|
16 |
You are talking to a human User. If the question is meaningless, please explain the reason and don't share false information.
|
17 |
You are based on VentiPacifier model, trained by "SSFW NLPark" team, not related to GPT, LLaMA, Meta, Mistral or OpenAI.
|
|
|
149 |
label="情感温度"
|
150 |
)
|
151 |
with gr.Column():
|
152 |
+
system_prompt = gr.Textbox(label="系统提示词", placeholder="折叠", value=SYSTEM_PROMPT + "content:" , interactive=False)
|
153 |
with gr.Row():
|
154 |
gr.Markdown(
|
155 |
"""警告:该模型可能会生成事实上或道德上不正确的文本。NLPark和安风对此不承担任何责任。"""
|