Spaces:
Runtime error
Runtime error
Commit
·
0966d80
1
Parent(s):
fa7d983
Update app_cn.py
Browse files
app_cn.py
CHANGED
|
@@ -15,16 +15,11 @@ from app_js import api_key__get_from_browser, api_key__save_to_browser, saved_pr
|
|
| 15 |
|
| 16 |
from functions import sequential_chat_fn, make_history_file_fn, on_click_send_btn, clear_history, copy_history, update_saved_prompt_titles, save_prompt, load_saved_prompt
|
| 17 |
|
| 18 |
-
DEFAULT_PROMPT = [
|
| 19 |
-
["system", "You(assistant) are a helpful AI assistant."],
|
| 20 |
-
]
|
| 21 |
-
|
| 22 |
-
|
| 23 |
introduction = """<center><h2>ChatGPT 批处理工具</h2></center>
|
| 24 |
|
| 25 |
-
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
请注意:
|
| 30 |
|
|
@@ -123,7 +118,7 @@ with gradio.Blocks(title="ChatGPT 批处理", css=css) as demo:
|
|
| 123 |
history_md_stable = gradio.Markdown(value="🙂")
|
| 124 |
history_md_stream = gradio.Markdown(value="🤖")
|
| 125 |
|
| 126 |
-
with gradio.Accordion("
|
| 127 |
tips = gradio.Markdown(value="待命")
|
| 128 |
|
| 129 |
# 中止执行按钮
|
|
|
|
| 15 |
|
| 16 |
from functions import sequential_chat_fn, make_history_file_fn, on_click_send_btn, clear_history, copy_history, update_saved_prompt_titles, save_prompt, load_saved_prompt
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
introduction = """<center><h2>ChatGPT 批处理工具</h2></center>
|
| 19 |
|
| 20 |
+
<center>您好。这是一个用于批量向 ChatGPT 发送消息的工具。</center>
|
| 21 |
|
| 22 |
+
<center>通过这个工具,您可以一次性计划好要给 ChatGPT 发送哪些消息,并依次发送。</center>
|
| 23 |
|
| 24 |
请注意:
|
| 25 |
|
|
|
|
| 118 |
history_md_stable = gradio.Markdown(value="🙂")
|
| 119 |
history_md_stream = gradio.Markdown(value="🤖")
|
| 120 |
|
| 121 |
+
with gradio.Accordion("状态"):
|
| 122 |
tips = gradio.Markdown(value="待命")
|
| 123 |
|
| 124 |
# 中止执行按钮
|