diff --git a/core_functional.py b/core_functional.py index 722abc1..536ccb6 100644 --- a/core_functional.py +++ b/core_functional.py @@ -56,7 +56,7 @@ def get_core_functions(): "Color": "secondary", }, "英译中": { - "Prefix": r"请翻译成中文:" + "\n\n", + "Prefix": r"翻译成地道的中文:" + "\n\n", "Suffix": r"", }, "找图片": { diff --git a/requirements.txt b/requirements.txt index b3253be..1b61d02 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,4 +11,5 @@ Markdown pygments pymupdf openai -numpy \ No newline at end of file +numpy +python-docx \ No newline at end of file diff --git a/toolbox.py b/toolbox.py index 47e286a..1654e69 100644 --- a/toolbox.py +++ b/toolbox.py @@ -3,7 +3,6 @@ import mdtex2html import threading import importlib import traceback -import importlib import inspect import re from latex2mathml.converter import convert as tex2mathml