From 3fd2927ea3b6be35304d40843bc836b410cb73d0 Mon Sep 17 00:00:00 2001 From: qingxu fu <505030475@qq.com> Date: Sat, 3 Jun 2023 23:33:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crazy_functions/crazy_functions_test.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/crazy_functions/crazy_functions_test.py b/crazy_functions/crazy_functions_test.py index d627549..d9c6d85 100644 --- a/crazy_functions/crazy_functions_test.py +++ b/crazy_functions/crazy_functions_test.py @@ -181,13 +181,15 @@ def test_Langchain知识库读取(): def test_Latex(): from crazy_functions.Latex输出PDF结果 import Latex英文纠错加PDF对比, Latex翻译中文并重新编译PDF - # txt = "C:/Users/binary_husky/Desktop/proofread" - # txt = "C:/Users/binary_husky/Desktop/旧文件/gpt/paperx" - # txt = "C:/Users/binary_husky/Desktop/旧文件/gpt/papery" - # txt = r"C:\Users\binary_husky\Desktop\旧文件\gpt\latex2pdf\2023-06-03-14-57-06" - # txt = r"C:\Users\binary_husky\Desktop\旧文件\gpt\latex2pdf\2023-06-03-15-40-20" - # txt = r"C:\Users\binary_husky\Desktop\旧文件\gpt\latex2pdf\2023-06-03-17-14-40" + txt = "C:/Users/fuqingxu/Desktop/proofread" + txt = "C:/Users/fuqingxu/Desktop/旧文件/gpt/paperx" + txt = "C:/Users/fuqingxu/Desktop/旧文件/gpt/papery" + txt = r"C:\Users\fuqingxu\Desktop\旧文件\gpt\latex2pdf\2023-06-03-14-57-06" + txt = r"C:\Users\fuqingxu\Desktop\旧文件\gpt\latex2pdf\2023-06-03-15-40-20" txt = r"https://arxiv.org/abs/1902.03185" + txt = r"C:\Users\fuqingxu\Desktop\旧文件\gpt\latex2pdf\2023-06-03-17-14-40" + txt = r"https://arxiv.org/abs/2305.18290" + for cookies, cb, hist, msg in (Latex翻译中文并重新编译PDF)(txt, llm_kwargs, plugin_kwargs, chatbot, history, system_prompt, web_port): cli_printer.print(cb) # print(cb)