Spaces:
Runtime error
Runtime error
zhaoxiang
commited on
Commit
•
2099574
1
Parent(s):
5e5d326
update requirements.txt
Browse files- ez_cite.py +2 -2
- requirements.txt +3 -233
ez_cite.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import os
|
2 |
-
TOGETHER_API_KEY =
|
3 |
-
SEMANTIC_SCHOLAR_API_KET =
|
4 |
import re
|
5 |
import sys
|
6 |
import time
|
|
|
1 |
import os
|
2 |
+
TOGETHER_API_KEY = os.environ.get("TOGETHER_API_KEY")
|
3 |
+
SEMANTIC_SCHOLAR_API_KET = os.environ.get("SEMANTIC_SCHOLAR_API_KET")
|
4 |
import re
|
5 |
import sys
|
6 |
import time
|
requirements.txt
CHANGED
@@ -1,236 +1,6 @@
|
|
1 |
-
aiofiles==23.2.1
|
2 |
-
aiohttp==3.9.3
|
3 |
-
aiosignal==1.3.1
|
4 |
-
albumentations==1.3.1
|
5 |
-
altair==5.2.0
|
6 |
-
annotated-types==0.6.0
|
7 |
-
anthropic-bedrock==0.8.0
|
8 |
-
anyio==4.2.0
|
9 |
-
appnope @ file:///home/conda/feedstock_root/build_artifacts/appnope_1649077682618/work
|
10 |
-
asgiref==3.7.2
|
11 |
-
asttokens @ file:///home/conda/feedstock_root/build_artifacts/asttokens_1698341106958/work
|
12 |
-
async-timeout==4.0.3
|
13 |
-
attrs==23.2.0
|
14 |
-
backoff==2.2.1
|
15 |
-
bcrypt==4.1.2
|
16 |
-
blinker==1.7.0
|
17 |
-
blis==0.7.11
|
18 |
-
boto3==1.34.31
|
19 |
-
botocore==1.34.31
|
20 |
-
build==1.0.3
|
21 |
-
cachetools==5.3.2
|
22 |
-
catalogue==2.0.10
|
23 |
-
certifi==2023.11.17
|
24 |
-
cffi==1.16.0
|
25 |
-
charset-normalizer==3.3.2
|
26 |
-
chroma-hnswlib==0.7.3
|
27 |
-
chromadb==0.4.22
|
28 |
-
click==8.1.7
|
29 |
-
cloudpathlib==0.16.0
|
30 |
-
colorama==0.4.6
|
31 |
-
coloredlogs==15.0.1
|
32 |
-
comm @ file:///home/conda/feedstock_root/build_artifacts/comm_1704278392174/work
|
33 |
-
confection==0.1.4
|
34 |
-
contourpy==1.2.0
|
35 |
-
cryptography==42.0.2
|
36 |
-
cycler==0.12.1
|
37 |
-
cymem==2.0.8
|
38 |
-
dataclasses-json==0.6.4
|
39 |
-
datasets==2.16.1
|
40 |
-
debugpy @ file:///private/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_563_nwtkoc/croot/debugpy_1690905063850/work
|
41 |
-
decorator @ file:///home/conda/feedstock_root/build_artifacts/decorator_1641555617451/work
|
42 |
-
Deprecated==1.2.14
|
43 |
-
dill==0.3.7
|
44 |
-
dirtyjson==1.0.8
|
45 |
-
distro==1.9.0
|
46 |
-
en-core-web-lg @ https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.7.1/en_core_web_lg-3.7.1-py3-none-any.whl#sha256=ab70aeb6172cde82508f7739f35ebc9918a3d07debeed637403c8f794ba3d3dc
|
47 |
-
exceptiongroup @ file:///home/conda/feedstock_root/build_artifacts/exceptiongroup_1704921103267/work
|
48 |
-
executing @ file:///home/conda/feedstock_root/build_artifacts/executing_1698579936712/work
|
49 |
-
fastapi==0.109.2
|
50 |
-
ffmpy==0.3.1
|
51 |
-
filelock==3.13.1
|
52 |
-
Flask==3.0.2
|
53 |
-
flatbuffers==23.5.26
|
54 |
-
fonttools==4.48.1
|
55 |
-
frozenlist==1.4.1
|
56 |
-
fsspec==2023.10.0
|
57 |
-
google-auth==2.27.0
|
58 |
-
googleapis-common-protos==1.62.0
|
59 |
-
gradio==4.18.0
|
60 |
-
gradio_client==0.10.0
|
61 |
-
greenlet==3.0.3
|
62 |
-
grpcio==1.60.1
|
63 |
-
h11==0.14.0
|
64 |
-
httpcore==1.0.2
|
65 |
-
httptools==0.6.1
|
66 |
-
httpx==0.26.0
|
67 |
-
huggingface-hub==0.20.3
|
68 |
-
humanfriendly==10.0
|
69 |
-
idna==3.6
|
70 |
-
imageio==2.33.1
|
71 |
-
importlib-metadata==6.11.0
|
72 |
-
importlib-resources==6.1.1
|
73 |
-
ipykernel @ file:///Users/runner/miniforge3/conda-bld/ipykernel_1705418038222/work
|
74 |
-
ipython @ file:///home/conda/feedstock_root/build_artifacts/ipython_1704718870316/work
|
75 |
-
itsdangerous==2.1.2
|
76 |
-
jedi @ file:///home/conda/feedstock_root/build_artifacts/jedi_1696326070614/work
|
77 |
-
Jinja2==3.1.3
|
78 |
-
jmespath==1.0.1
|
79 |
-
joblib==1.3.2
|
80 |
-
jsonschema==4.21.1
|
81 |
-
jsonschema-specifications==2023.12.1
|
82 |
-
jupyter_client @ file:///home/conda/feedstock_root/build_artifacts/jupyter_client_1699283905679/work
|
83 |
-
jupyter_core @ file:///private/var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_782yoyc_98/croot/jupyter_core_1698937318631/work
|
84 |
-
kiwisolver==1.4.5
|
85 |
-
kubernetes==29.0.0
|
86 |
-
langcodes==3.3.0
|
87 |
-
lazy_loader==0.3
|
88 |
-
Levenshtein==0.24.0
|
89 |
-
lightning==2.1.3
|
90 |
-
lightning-utilities==0.10.1
|
91 |
-
llama-index==0.9.46
|
92 |
-
markdown-it-py==3.0.0
|
93 |
-
MarkupSafe==2.1.4
|
94 |
-
marshmallow==3.20.2
|
95 |
-
matplotlib==3.8.2
|
96 |
-
matplotlib-inline @ file:///home/conda/feedstock_root/build_artifacts/matplotlib-inline_1660814786464/work
|
97 |
-
mdurl==0.1.2
|
98 |
-
mmh3==4.1.0
|
99 |
-
monotonic==1.6
|
100 |
-
mpmath==1.3.0
|
101 |
-
multidict==6.0.4
|
102 |
-
multiprocess==0.70.15
|
103 |
-
munch==4.0.0
|
104 |
-
murmurhash==1.0.10
|
105 |
-
mypy-extensions==1.0.0
|
106 |
-
nest_asyncio @ file:///home/conda/feedstock_root/build_artifacts/nest-asyncio_1705850609492/work
|
107 |
-
networkx==3.2.1
|
108 |
-
nltk==3.8.1
|
109 |
-
nougat-ocr==0.1.17
|
110 |
-
numpy==1.26.3
|
111 |
-
oauthlib==3.2.2
|
112 |
-
onnxruntime==1.17.0
|
113 |
openai==1.12.0
|
114 |
-
opencv-python-headless==4.9.0.80
|
115 |
-
opentelemetry-api==1.22.0
|
116 |
-
opentelemetry-exporter-otlp-proto-common==1.22.0
|
117 |
-
opentelemetry-exporter-otlp-proto-grpc==1.22.0
|
118 |
-
opentelemetry-instrumentation==0.43b0
|
119 |
-
opentelemetry-instrumentation-asgi==0.43b0
|
120 |
-
opentelemetry-instrumentation-fastapi==0.43b0
|
121 |
-
opentelemetry-proto==1.22.0
|
122 |
-
opentelemetry-sdk==1.22.0
|
123 |
-
opentelemetry-semantic-conventions==0.43b0
|
124 |
-
opentelemetry-util-http==0.43b0
|
125 |
-
orjson==3.9.12
|
126 |
-
overrides==7.7.0
|
127 |
-
packaging @ file:///home/conda/feedstock_root/build_artifacts/packaging_1696202382185/work
|
128 |
-
pandas==2.2.0
|
129 |
-
parso @ file:///home/conda/feedstock_root/build_artifacts/parso_1638334955874/work
|
130 |
-
pdfminer.six==20221105
|
131 |
-
pdfplumber==0.10.3
|
132 |
-
pexpect @ file:///home/conda/feedstock_root/build_artifacts/pexpect_1706113125309/work
|
133 |
-
pickleshare @ file:///home/conda/feedstock_root/build_artifacts/pickleshare_1602536217715/work
|
134 |
-
pillow==10.2.0
|
135 |
-
platformdirs @ file:///home/conda/feedstock_root/build_artifacts/platformdirs_1706713388748/work
|
136 |
-
posthog==3.4.0
|
137 |
-
preshed==3.0.9
|
138 |
-
prompt-toolkit @ file:///home/conda/feedstock_root/build_artifacts/prompt-toolkit_1702399386289/work
|
139 |
-
protobuf==4.25.2
|
140 |
-
psutil @ file:///private/var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_1310b568-21f4-4cb0-b0e3-2f3d31e39728k9coaga5/croots/recipe/psutil_1656431280844/work
|
141 |
-
ptyprocess @ file:///home/conda/feedstock_root/build_artifacts/ptyprocess_1609419310487/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
|
142 |
-
pulsar-client==3.4.0
|
143 |
-
pure-eval @ file:///home/conda/feedstock_root/build_artifacts/pure_eval_1642875951954/work
|
144 |
-
pyarrow==15.0.0
|
145 |
-
pyarrow-hotfix==0.6
|
146 |
-
pyasn1==0.5.1
|
147 |
-
pyasn1-modules==0.3.0
|
148 |
-
pycparser==2.21
|
149 |
-
pydantic==2.6.0
|
150 |
-
pydantic_core==2.16.1
|
151 |
-
pydub==0.25.1
|
152 |
-
Pygments @ file:///home/conda/feedstock_root/build_artifacts/pygments_1700607939962/work
|
153 |
-
PyMuPDF==1.23.20
|
154 |
-
PyMuPDFb==1.23.9
|
155 |
-
pyparsing==3.1.1
|
156 |
-
pypdf==4.0.1
|
157 |
-
PyPDF2==3.0.1
|
158 |
-
pypdfium2==4.26.0
|
159 |
-
PyPika==0.48.9
|
160 |
-
pyproject_hooks==1.0.0
|
161 |
-
python-dateutil @ file:///home/conda/feedstock_root/build_artifacts/python-dateutil_1626286286081/work
|
162 |
-
python-dotenv==1.0.1
|
163 |
-
python-Levenshtein==0.24.0
|
164 |
-
python-multipart==0.0.9
|
165 |
-
pytorch-lightning==2.1.3
|
166 |
-
pytz==2023.4
|
167 |
-
PyYAML==6.0.1
|
168 |
-
pyzmq @ file:///private/var/folders/k1/30mswbxs7r1g6zwn8y4fyt500000gp/T/abs_43pxpbos3z/croot/pyzmq_1705605108344/work
|
169 |
-
qudida==0.0.4
|
170 |
-
rapidfuzz==3.6.1
|
171 |
-
referencing==0.33.0
|
172 |
-
regex==2023.12.25
|
173 |
-
requests==2.31.0
|
174 |
-
requests-oauthlib==1.3.1
|
175 |
-
rich==13.7.0
|
176 |
-
rpds-py==0.17.1
|
177 |
-
rsa==4.9
|
178 |
-
ruamel.yaml==0.18.5
|
179 |
-
ruamel.yaml.clib==0.2.8
|
180 |
-
ruff==0.2.1
|
181 |
-
s3transfer==0.10.0
|
182 |
-
safetensors==0.4.2
|
183 |
-
scikit-image==0.22.0
|
184 |
-
scikit-learn==1.4.0
|
185 |
-
scipy==1.12.0
|
186 |
-
sconf==0.2.5
|
187 |
-
semantic-version==2.10.0
|
188 |
-
sentencepiece==0.1.99
|
189 |
-
shellingham==1.5.4
|
190 |
-
six @ file:///home/conda/feedstock_root/build_artifacts/six_1620240208055/work
|
191 |
-
smart-open==6.4.0
|
192 |
-
sniffio==1.3.0
|
193 |
-
socksio==1.0.0
|
194 |
spacy==3.7.2
|
195 |
-
spacy-
|
196 |
-
|
197 |
-
SQLAlchemy==2.0.25
|
198 |
-
srsly==2.4.8
|
199 |
-
stack-data @ file:///home/conda/feedstock_root/build_artifacts/stack_data_1669632077133/work
|
200 |
-
starlette==0.36.3
|
201 |
-
sympy==1.12
|
202 |
-
tenacity==8.2.3
|
203 |
-
thinc==8.2.3
|
204 |
-
threadpoolctl==3.2.0
|
205 |
-
tifffile==2024.1.30
|
206 |
-
tiktoken==0.6.0
|
207 |
-
timm==0.5.4
|
208 |
-
tokenizers==0.15.1
|
209 |
-
tomli==2.0.1
|
210 |
-
tomlkit==0.12.0
|
211 |
-
toolz==0.12.1
|
212 |
-
torch==2.2.0
|
213 |
-
torchmetrics==1.3.0.post0
|
214 |
-
torchvision==0.17.0
|
215 |
-
tornado @ file:///private/var/folders/nz/j6p8yfhx1mv_0grj5xl4650h0000gp/T/abs_3a5nrn2jeh/croot/tornado_1696936974091/work
|
216 |
-
tqdm==4.66.1
|
217 |
-
traitlets @ file:///home/conda/feedstock_root/build_artifacts/traitlets_1704212992681/work
|
218 |
transformers==4.37.2
|
219 |
-
|
220 |
-
typing-inspect==0.9.0
|
221 |
-
typing_extensions @ file:///home/conda/feedstock_root/build_artifacts/typing_extensions_1702176139754/work
|
222 |
-
tzdata==2023.4
|
223 |
-
urllib3==2.0.7
|
224 |
-
uvicorn==0.27.0.post1
|
225 |
-
uvloop==0.19.0
|
226 |
-
wasabi==1.1.2
|
227 |
-
watchfiles==0.21.0
|
228 |
-
wcwidth @ file:///home/conda/feedstock_root/build_artifacts/wcwidth_1704731205417/work
|
229 |
-
weasel==0.3.4
|
230 |
-
websocket-client==1.7.0
|
231 |
-
websockets==11.0.3
|
232 |
-
Werkzeug==3.0.1
|
233 |
-
wrapt==1.16.0
|
234 |
-
xxhash==3.4.1
|
235 |
-
yarl==1.9.4
|
236 |
-
zipp @ file:///home/conda/feedstock_root/build_artifacts/zipp_1695255097490/work
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
openai==1.12.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
spacy==3.7.2
|
3 |
+
en-core-web-lg @ https://github.com/explosion/spacy-models/releases/download/en_core_web_lg-3.7.1/en_core_web_lg-3.7.1-py3-none-any.whl#sha256=ab70aeb6172cde82508f7739f35ebc9918a3d07debeed637403c8f794ba3d3dc
|
4 |
+
llama-index==0.9.46
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
transformers==4.37.2
|
6 |
+
gradio==4.18.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|