Spaces:
Runtime error
Runtime error
Update custom.py
Browse files
custom.py
CHANGED
@@ -12,12 +12,15 @@ gpt_svg = """
|
|
12 |
"""
|
13 |
# 内容背景
|
14 |
user_background_color = '#ffffff'
|
15 |
-
gpt_background_color = '#fafbfc'
|
|
|
|
|
16 |
# 模型初始设置
|
17 |
initial_content_history = [{"role": 'system',
|
18 |
"content": '当你的回复中涉及代码块时,请在markdown语法中标明语言类型。如果不涉及,请忽略这句话。'}]
|
19 |
initial_content_all = {"history": initial_content_history,
|
20 |
"paras": {
|
|
|
21 |
"temperature": 1.0,
|
22 |
"top_p": 1.0,
|
23 |
"presence_penalty": 0.0,
|
|
|
12 |
"""
|
13 |
# 内容背景
|
14 |
user_background_color = '#ffffff'
|
15 |
+
#gpt_background_color = '#fafbfc'
|
16 |
+
gpt_background_color = '#ffffff'
|
17 |
+
|
18 |
# 模型初始设置
|
19 |
initial_content_history = [{"role": 'system',
|
20 |
"content": '当你的回复中涉及代码块时,请在markdown语法中标明语言类型。如果不涉及,请忽略这句话。'}]
|
21 |
initial_content_all = {"history": initial_content_history,
|
22 |
"paras": {
|
23 |
+
"model": "gpt-3.5-turbo"
|
24 |
"temperature": 1.0,
|
25 |
"top_p": 1.0,
|
26 |
"presence_penalty": 0.0,
|