现在指定markdown的翻译语言

这个提交包含在:
qingxu fu
2023-05-25 13:46:50 +08:00
父节点 51c075ec3c
当前提交 7947c968ad
共有 6 个文件被更改,包括 103 次插入14 次删除

查看文件

@@ -727,6 +727,7 @@ def clip_history(inputs, history, tokenizer, max_token_limit):
第三部分
其他小工具:
- zip_folder: 把某个路径下所有文件压缩,然后转移到指定的另一个路径中gpt写的
- gen_time_str: 生成时间戳
========================================================================
"""
@@ -761,3 +762,6 @@ def zip_folder(source_folder, dest_folder, zip_name):
print(f"Zip file created at {zip_file}")
def gen_time_str():
import time
return time.strftime("%Y-%m-%d-%H-%M-%S", time.localtime())