Spaces:
Runtime error
Runtime error
Update presets.py
Browse files- presets.py +2 -2
presets.py
CHANGED
@@ -7,7 +7,7 @@ HISTORY_DIR = "history"
|
|
7 |
TEMPLATES_DIR = "templates"
|
8 |
|
9 |
# 错误信息
|
10 |
-
standard_error_msg = "
|
11 |
error_retrieve_prompt = "请检查网络连接,或者API-Key是否有效。" # 获取对话时发生错误
|
12 |
connection_timeout_prompt = "连接超时,无法获取对话。" # 连接超时
|
13 |
read_timeout_prompt = "读取超时,无法获取对话。" # 读取超时
|
@@ -25,7 +25,7 @@ HIDE_MY_KEY = False # 如果你想在UI中隐藏你的 API 密钥,将此值
|
|
25 |
SIM_K = 5
|
26 |
INDEX_QUERY_TEMPRATURE = 1.0
|
27 |
|
28 |
-
title = """<h1 align="left" style="min-width:200px; margin-top:0;">541ChatGPT
|
29 |
description = """\
|
30 |
<div align="center" style="margin:16px 0">
|
31 |
|
|
|
7 |
TEMPLATES_DIR = "templates"
|
8 |
|
9 |
# 错误信息
|
10 |
+
standard_error_msg = "啊噢~☹️发生了错误:" # 错误信息的标准前缀
|
11 |
error_retrieve_prompt = "请检查网络连接,或者API-Key是否有效。" # 获取对话时发生错误
|
12 |
connection_timeout_prompt = "连接超时,无法获取对话。" # 连接超时
|
13 |
read_timeout_prompt = "读取超时,无法获取对话。" # 读取超时
|
|
|
25 |
SIM_K = 5
|
26 |
INDEX_QUERY_TEMPRATURE = 1.0
|
27 |
|
28 |
+
title = """<h1 align="left" style="min-width:200px; margin-top:0;">541ChatGPT 💓</h1>"""
|
29 |
description = """\
|
30 |
<div align="center" style="margin:16px 0">
|
31 |
|