Spaces:
Sleeping
Sleeping
Tuchuanhuhuhu
commited on
Commit
•
fb772e1
1
Parent(s):
72e1ed6
防止产生过多的打印消息
Browse files
utils.py
CHANGED
@@ -352,7 +352,7 @@ def get_template_names(plain=False):
|
|
352 |
return get_file_names(TEMPLATES_DIR, plain, filetypes=[".csv", "json"])
|
353 |
|
354 |
def get_template_content(templates, selection, original_system_prompt):
|
355 |
-
print(f"
|
356 |
try:
|
357 |
return templates[selection]
|
358 |
except:
|
|
|
352 |
return get_file_names(TEMPLATES_DIR, plain, filetypes=[".csv", "json"])
|
353 |
|
354 |
def get_template_content(templates, selection, original_system_prompt):
|
355 |
+
print(f"应用模板中,选择为{selection},原始系统提示为{original_system_prompt}")
|
356 |
try:
|
357 |
return templates[selection]
|
358 |
except:
|