From f82bf91aa8096c8dd28f7fbf0b903bf59bd578e8 Mon Sep 17 00:00:00 2001 From: qingxu fu <505030475@qq.com> Date: Sat, 3 Jun 2023 18:06:39 +0800 Subject: [PATCH] test example --- crazy_functions/crazy_functions_test.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/crazy_functions/crazy_functions_test.py b/crazy_functions/crazy_functions_test.py index da4c510..15ec795 100644 --- a/crazy_functions/crazy_functions_test.py +++ b/crazy_functions/crazy_functions_test.py @@ -181,12 +181,13 @@ def test_Langchain知识库读取(): def test_Latex(): from crazy_functions.Latex输出PDF结果 import Latex英文纠错加PDF对比, Latex翻译中文并重新编译PDF - 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"C:\Users\fuqingxu\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"C:\Users\fuqingxu\Desktop\旧文件\gpt\latex2pdf\2023-06-03-17-14-40" + txt = r"https://arxiv.org/abs/1902.03185" 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)