Spaces:
Runtime error
Runtime error
update
Browse files- app.py +2 -2
- requirements.txt +6 -0
- scripts/env.txt +236 -0
- scripts/install.sh +1 -2
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
-
from models.vsa_model import VisionSearchAssistant
|
3 |
-
from models.vsa_prompt import COCO_CLASSES
|
4 |
|
5 |
|
6 |
SAMPLES = {
|
|
|
1 |
import gradio as gr
|
2 |
+
# from models.vsa_model import VisionSearchAssistant
|
3 |
+
# from models.vsa_prompt import COCO_CLASSES
|
4 |
|
5 |
|
6 |
SAMPLES = {
|
requirements.txt
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
duckduckgo_search==5.3.1b1
|
2 |
+
einops
|
3 |
+
git+https://github.com/InternLM/lagent.git
|
4 |
+
lmdeploy
|
5 |
+
termcolor
|
6 |
+
transformers==4.41.0
|
scripts/env.txt
ADDED
@@ -0,0 +1,236 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
accelerate==1.0.1
|
2 |
+
addict==2.4.0
|
3 |
+
aiofiles==23.2.1
|
4 |
+
aiohappyeyeballs==2.4.3
|
5 |
+
aiohttp==3.10.10
|
6 |
+
aiosignal==1.3.1
|
7 |
+
airportsdata==20241001
|
8 |
+
altair==5.4.1
|
9 |
+
annotated-types==0.7.0
|
10 |
+
anyio==4.6.2.post1
|
11 |
+
argon2-cffi==23.1.0
|
12 |
+
argon2-cffi-bindings==21.2.0
|
13 |
+
arrow==1.3.0
|
14 |
+
arxiv==2.1.3
|
15 |
+
asttokens==2.4.1
|
16 |
+
async-lru==2.0.4
|
17 |
+
async-timeout==4.0.3
|
18 |
+
attrs==24.2.0
|
19 |
+
babel==2.16.0
|
20 |
+
beautifulsoup4==4.12.3
|
21 |
+
bitsandbytes==0.44.1
|
22 |
+
bleach==6.1.0
|
23 |
+
blinker==1.8.2
|
24 |
+
Brotli==1.1.0
|
25 |
+
cachetools==5.5.0
|
26 |
+
certifi==2024.8.30
|
27 |
+
cffi==1.17.1
|
28 |
+
charset-normalizer==3.4.0
|
29 |
+
click==8.1.7
|
30 |
+
cloudpickle==3.1.0
|
31 |
+
colorama==0.4.6
|
32 |
+
comm==0.2.2
|
33 |
+
contourpy==1.3.0
|
34 |
+
cycler==0.12.1
|
35 |
+
datasets==3.0.1
|
36 |
+
debugpy==1.8.7
|
37 |
+
decorator==5.1.1
|
38 |
+
defusedxml==0.7.1
|
39 |
+
dill==0.3.8
|
40 |
+
diskcache==5.6.3
|
41 |
+
distro==1.9.0
|
42 |
+
duckduckgo_search==5.3.1b1
|
43 |
+
einops==0.6.1
|
44 |
+
einops-exts==0.0.4
|
45 |
+
exceptiongroup==1.2.2
|
46 |
+
executing==2.1.0
|
47 |
+
fastapi==0.115.2
|
48 |
+
fastjsonschema==2.20.0
|
49 |
+
feedparser==6.0.11
|
50 |
+
ffmpy==0.4.0
|
51 |
+
filelock==3.16.1
|
52 |
+
fire==0.7.0
|
53 |
+
fonttools==4.54.1
|
54 |
+
fqdn==1.5.1
|
55 |
+
frozenlist==1.4.1
|
56 |
+
fsspec==2024.6.1
|
57 |
+
func_timeout==4.3.5
|
58 |
+
gitdb==4.0.11
|
59 |
+
GitPython==3.1.43
|
60 |
+
gradio==5.1.0
|
61 |
+
gradio_client==1.4.0
|
62 |
+
griffe==0.49.0
|
63 |
+
h11==0.14.0
|
64 |
+
h2==4.1.0
|
65 |
+
hpack==4.0.0
|
66 |
+
httpcore==1.0.6
|
67 |
+
httpx==0.27.2
|
68 |
+
huggingface-hub==0.26.0
|
69 |
+
hyperframe==6.0.1
|
70 |
+
idna==3.10
|
71 |
+
importlib_metadata==8.5.0
|
72 |
+
importlib_resources==6.4.5
|
73 |
+
interegular==0.3.3
|
74 |
+
ipykernel==6.29.5
|
75 |
+
ipython==8.28.0
|
76 |
+
ipywidgets==8.1.5
|
77 |
+
isoduration==20.11.0
|
78 |
+
jedi==0.19.1
|
79 |
+
Jinja2==3.1.4
|
80 |
+
jiter==0.6.1
|
81 |
+
joblib==1.4.2
|
82 |
+
json5==0.9.25
|
83 |
+
jsonpointer==3.0.0
|
84 |
+
jsonschema==4.23.0
|
85 |
+
jsonschema-specifications==2024.10.1
|
86 |
+
jupyter==1.1.1
|
87 |
+
jupyter-console==6.6.3
|
88 |
+
jupyter-events==0.10.0
|
89 |
+
jupyter-lsp==2.2.5
|
90 |
+
jupyter_client==8.6.3
|
91 |
+
jupyter_core==5.7.2
|
92 |
+
jupyter_server==2.14.2
|
93 |
+
jupyter_server_terminals==0.5.3
|
94 |
+
jupyterlab==4.2.5
|
95 |
+
jupyterlab_pygments==0.3.0
|
96 |
+
jupyterlab_server==2.27.3
|
97 |
+
jupyterlab_widgets==3.0.13
|
98 |
+
kiwisolver==1.4.7
|
99 |
+
lagent @ git+https://github.com/InternLM/lagent.git@238aacf5e711f45cdbdfb26a6c2f4336fb64cd36
|
100 |
+
lark==1.2.2
|
101 |
+
latex2mathml==3.77.0
|
102 |
+
lmdeploy==0.6.1
|
103 |
+
markdown-it-py==3.0.0
|
104 |
+
markdown2==2.5.1
|
105 |
+
MarkupSafe==2.1.5
|
106 |
+
matplotlib==3.9.2
|
107 |
+
matplotlib-inline==0.1.7
|
108 |
+
mdurl==0.1.2
|
109 |
+
mistune==3.0.2
|
110 |
+
mmengine-lite==0.10.5
|
111 |
+
mpmath==1.3.0
|
112 |
+
multidict==6.1.0
|
113 |
+
multiprocess==0.70.16
|
114 |
+
narwhals==1.9.4
|
115 |
+
nbclient==0.10.0
|
116 |
+
nbconvert==7.16.4
|
117 |
+
nbformat==5.10.4
|
118 |
+
nest-asyncio==1.6.0
|
119 |
+
networkx==3.4.1
|
120 |
+
notebook==7.2.2
|
121 |
+
notebook_shim==0.2.4
|
122 |
+
numpy==1.26.4
|
123 |
+
nvidia-cublas-cu12==12.1.3.1
|
124 |
+
nvidia-cuda-cupti-cu12==12.1.105
|
125 |
+
nvidia-cuda-nvrtc-cu12==12.1.105
|
126 |
+
nvidia-cuda-runtime-cu12==12.1.105
|
127 |
+
nvidia-cudnn-cu12==8.9.2.26
|
128 |
+
nvidia-cufft-cu12==11.0.2.54
|
129 |
+
nvidia-curand-cu12==10.3.2.106
|
130 |
+
nvidia-cusolver-cu12==11.4.5.107
|
131 |
+
nvidia-cusparse-cu12==12.1.0.106
|
132 |
+
nvidia-nccl-cu12==2.18.1
|
133 |
+
nvidia-nvjitlink-cu12==12.6.77
|
134 |
+
nvidia-nvtx-cu12==12.1.105
|
135 |
+
openai==1.52.0
|
136 |
+
orjson==3.10.9
|
137 |
+
outlines==0.1.1
|
138 |
+
outlines_core==0.1.14
|
139 |
+
overrides==7.7.0
|
140 |
+
packaging==24.1
|
141 |
+
pandas==2.2.3
|
142 |
+
pandocfilters==1.5.1
|
143 |
+
parso==0.8.4
|
144 |
+
peft==0.11.1
|
145 |
+
pexpect==4.9.0
|
146 |
+
phx-class-registry==4.1.0
|
147 |
+
pillow==10.4.0
|
148 |
+
platformdirs==4.3.6
|
149 |
+
prometheus_client==0.21.0
|
150 |
+
prompt_toolkit==3.0.48
|
151 |
+
propcache==0.2.0
|
152 |
+
protobuf==5.28.2
|
153 |
+
psutil==6.1.0
|
154 |
+
ptyprocess==0.7.0
|
155 |
+
pure_eval==0.2.3
|
156 |
+
pyarrow==17.0.0
|
157 |
+
pycountry==24.6.1
|
158 |
+
pycparser==2.22
|
159 |
+
pydantic==2.9.2
|
160 |
+
pydantic_core==2.23.4
|
161 |
+
pydeck==0.9.1
|
162 |
+
pydub==0.25.1
|
163 |
+
Pygments==2.18.0
|
164 |
+
pynvml==11.5.3
|
165 |
+
pyparsing==3.2.0
|
166 |
+
python-dateutil==2.9.0.post0
|
167 |
+
python-json-logger==2.0.7
|
168 |
+
python-multipart==0.0.13
|
169 |
+
pytz==2024.2
|
170 |
+
PyYAML==6.0.2
|
171 |
+
pyzmq==26.2.0
|
172 |
+
referencing==0.35.1
|
173 |
+
regex==2024.9.11
|
174 |
+
requests==2.32.3
|
175 |
+
rfc3339-validator==0.1.4
|
176 |
+
rfc3986-validator==0.1.1
|
177 |
+
rich==13.9.2
|
178 |
+
rpds-py==0.20.0
|
179 |
+
ruff==0.7.0
|
180 |
+
safetensors==0.4.5
|
181 |
+
scikit-learn==1.2.2
|
182 |
+
scipy==1.14.1
|
183 |
+
semantic-version==2.10.0
|
184 |
+
Send2Trash==1.8.3
|
185 |
+
sentencepiece==0.1.99
|
186 |
+
sgmllib3k==1.0.0
|
187 |
+
shellingham==1.5.4
|
188 |
+
shortuuid==1.0.13
|
189 |
+
six==1.16.0
|
190 |
+
smmap==5.0.1
|
191 |
+
sniffio==1.3.1
|
192 |
+
socksio==1.0.0
|
193 |
+
soupsieve==2.6
|
194 |
+
stack-data==0.6.3
|
195 |
+
starlette==0.40.0
|
196 |
+
streamlit==1.39.0
|
197 |
+
svgwrite==1.4.3
|
198 |
+
sympy==1.13.3
|
199 |
+
tenacity==9.0.0
|
200 |
+
termcolor==2.5.0
|
201 |
+
terminado==0.18.1
|
202 |
+
threadpoolctl==3.5.0
|
203 |
+
tiktoken==0.8.0
|
204 |
+
timeout-decorator==0.5.0
|
205 |
+
timm==0.6.13
|
206 |
+
tinycss2==1.3.0
|
207 |
+
tokenizers==0.19.1
|
208 |
+
toml==0.10.2
|
209 |
+
tomli==2.0.2
|
210 |
+
tomlkit==0.12.0
|
211 |
+
torch==2.1.2
|
212 |
+
torchvision==0.16.2
|
213 |
+
tornado==6.4.1
|
214 |
+
tqdm==4.66.5
|
215 |
+
traitlets==5.14.3
|
216 |
+
transformers==4.41.0
|
217 |
+
triton==2.1.0
|
218 |
+
typer==0.12.5
|
219 |
+
types-python-dateutil==2.9.0.20241003
|
220 |
+
typing_extensions==4.12.2
|
221 |
+
tzdata==2024.2
|
222 |
+
uri-template==1.3.0
|
223 |
+
urllib3==2.2.3
|
224 |
+
uvicorn==0.32.0
|
225 |
+
watchdog==5.0.3
|
226 |
+
wavedrom==2.0.3.post3
|
227 |
+
wcwidth==0.2.13
|
228 |
+
webcolors==24.8.0
|
229 |
+
webencodings==0.5.1
|
230 |
+
websocket-client==1.8.0
|
231 |
+
websockets==11.0.3
|
232 |
+
widgetsnbextension==4.0.13
|
233 |
+
xxhash==3.5.0
|
234 |
+
yapf==0.40.2
|
235 |
+
yarl==1.15.5
|
236 |
+
zipp==3.20.2
|
scripts/install.sh
CHANGED
@@ -1,2 +1 @@
|
|
1 |
-
pip install -e models/LLaVA
|
2 |
-
# pip install gradio==5.1.0
|
|
|
1 |
+
pip install -e models/LLaVA
|
|