Spaces:
Runtime error
Runtime error
Merge branch 'master' into dev_grand
Browse files- core_functional.py +1 -1
- requirements.txt +2 -1
- toolbox.py +0 -1
core_functional.py
CHANGED
@@ -56,7 +56,7 @@ def get_core_functions():
|
|
56 |
"Color": "secondary",
|
57 |
},
|
58 |
"英译中": {
|
59 |
-
"Prefix": r"
|
60 |
"Suffix": r"",
|
61 |
},
|
62 |
"找图片": {
|
|
|
56 |
"Color": "secondary",
|
57 |
},
|
58 |
"英译中": {
|
59 |
+
"Prefix": r"翻译成地道的中文:" + "\n\n",
|
60 |
"Suffix": r"",
|
61 |
},
|
62 |
"找图片": {
|
requirements.txt
CHANGED
@@ -11,4 +11,5 @@ Markdown
|
|
11 |
pygments
|
12 |
pymupdf
|
13 |
openai
|
14 |
-
numpy
|
|
|
|
11 |
pygments
|
12 |
pymupdf
|
13 |
openai
|
14 |
+
numpy
|
15 |
+
python-docx
|
toolbox.py
CHANGED
@@ -3,7 +3,6 @@ import mdtex2html
|
|
3 |
import threading
|
4 |
import importlib
|
5 |
import traceback
|
6 |
-
import importlib
|
7 |
import inspect
|
8 |
import re
|
9 |
from latex2mathml.converter import convert as tex2mathml
|
|
|
3 |
import threading
|
4 |
import importlib
|
5 |
import traceback
|
|
|
6 |
import inspect
|
7 |
import re
|
8 |
from latex2mathml.converter import convert as tex2mathml
|