binary-husky/gpt_academic

[Bug]: 官网arxiv论文原生翻译插件不可用

kecin2019 opened this issue · 0 comments

Installation Method | 安装方法与平台

Others (Please Describe)

Version | 版本

Latest | 最新版

OS | 操作系统

Windows

Describe the bug | 简述

在官网输入arixvID后翻译报实验性函数调用出错,arxiv论文翻译插件不再用

Screen Shot | 有帮助的截图

[Local Message] 实验性函数调用出错:

Traceback (most recent call last):
File "./toolbox.py", line 168, in decorated
yield from f(main_input, llm_kwargs, plugin_kwargs, chatbot_with_cookie, history, *args, **kwargs)
File "./crazy_functions/Latex输出PDF结果.py", line 438, in Latex翻译中文并重新编译PDF
yield from Latex精细分解与转化(file_manifest, project_folder, llm_kwargs, plugin_kwargs,
File "./crazy_functions/latex_fns/latex_actions.py", line 275, in Latex精细分解与转化
inputs_array, sys_prompt_array = switch_prompt(pfg, mode, title=title)
File "./crazy_functions/Latex输出PDF结果.py", line 101, in switch_prompt
{user_prompt}\n
UnboundLocalError: local variable 'user_prompt' referenced before assignment

当前代理可用性:

代理配置 无, 代理所在地:China - China Mobile communications corporation

Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

No response