Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在使用python的api时,prompt.txt的格式有什么要求吗 #520

Open
Qinsmmoon opened this issue Jan 24, 2025 · 2 comments
Open

在使用python的api时,prompt.txt的格式有什么要求吗 #520

Qinsmmoon opened this issue Jan 24, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Qinsmmoon
Copy link

Image

@Qinsmmoon Qinsmmoon added the bug Something isn't working label Jan 24, 2025
@hellofinch
Copy link
Contributor

https://github.com/Byaidu/PDFMathTranslate/blob/main/pdf2zh/high_level.py#L176 这里prompt需要的是一个Templete对象,list不能识别。
暂时没有想好怎么改这个地方,这里还同时涉及到了GUI和CLI。

@Qinsmmoon
Copy link
Author

https://github.com/Byaidu/PDFMathTranslate/blob/main/pdf2zh/high_level.py#L176 这里prompt需要的是一个Templete对象,list不能识别。 暂时没有想好怎么改这个地方,这里还同时涉及到了GUI和CLI。

请问有临时解决办法吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants