这个提交包含在:
binary-husky
2023-06-20 23:05:17 +08:00
父节点 9fd212652e
当前提交 1fede6df7f
共有 2 个文件被更改,包括 4 次插入3 次删除

查看文件

@@ -119,6 +119,7 @@ def get_crazy_functions():
},
"[插件demo] 历史上的今天": {
# HotReload 的意思是热更新,修改函数插件代码后,不需要重启程序,代码直接生效
"AsButton": False, # 加入下拉菜单中
"Function": HotReload(高阶功能模板函数)
},
@@ -358,9 +359,9 @@ def get_crazy_functions():
})
from crazy_functions.Latex输出PDF结果 import Latex翻译中文并重新编译PDF
function_plugins.update({
"[功能尚不稳定] Latex翻译/Arixv翻译+重构PDF": {
"Arixv论文精细翻译": {
"Color": "stop",
"AsButton": False,
"AsButton": True,
# "AdvancedArgs": True,
# "ArgsReminder": "",
"Function": HotReload(Latex翻译中文并重新编译PDF)

查看文件

@@ -89,7 +89,7 @@ def arxiv_download(chatbot, history, txt):
except ValueError:
return False
if ('.' in txt) and ('/' not in txt) and is_float(txt):
txt = 'https://arxiv.org/abs/' + txt
txt = 'https://arxiv.org/abs/' + txt.strip()
if not txt.startswith('https://arxiv.org'):
return txt, None