优化搜索prompt速度

This commit is contained in:
w_xiaolizu
2023-06-06 16:47:11 +08:00
parent d818ba1be2
commit 3dcf3cf981
4 changed files with 18 additions and 7 deletions

View File

@ -101,7 +101,7 @@ class ChatBot(ChatBotFrame):
with gr.Box():
with gr.Row():
with gr.Column(scale=100):
self.pro_results = gr.Chatbot(label='Prompt and result').style(height=422)
self.pro_results = gr.Chatbot(label='Prompt and result', elem_id='prompt_result').style()
with gr.Column(scale=10):
Tips = "用 BORF 分析法设计chat GPT prompt:\n" \
"1、阐述背景 B(Background): 说明背景为chatGPT提供充足的信息\n" \