kimandrew927 commited on
Commit
3280336
·
1 Parent(s): 3729bc2

pin all dependencies, update sdk_version to 6.14.0

Browse files
Files changed (2) hide show
  1. README.md +12 -0
  2. requirements.txt +171 -82
README.md CHANGED
@@ -1,3 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  # MemoryBridge
2
 
3
  Assistive AAC communication system for people with cerebral palsy and other motor/speech disabilities. Generates personalized, contextually relevant candidate responses by fusing text retrieval (knowledge graphs + semantic search) with real-time vision signals (gestures, affect, air-sign letters).
 
1
+ ---
2
+ title: MemoryBridge AAC
3
+ emoji: 🧠
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: gradio
7
+ sdk_version: "6.14.0"
8
+ python_version: "3.10"
9
+ app_file: app.py
10
+ pinned: false
11
+ ---
12
+
13
  # MemoryBridge
14
 
15
  Assistive AAC communication system for people with cerebral palsy and other motor/speech disabilities. Generates personalized, contextually relevant candidate responses by fusing text retrieval (knowledge graphs + semantic search) with real-time vision signals (gestures, affect, air-sign letters).
requirements.txt CHANGED
@@ -1,82 +1,171 @@
1
- # ── Core LangChain + providers ──
2
- langchain>=0.3.0
3
- langchain-core>=0.3.0
4
- langchain-groq>=0.2.0
5
- langchain-together>=0.2.0
6
- langchain-openai>=0.2.0
7
- langchain-anthropic>=0.3.0
8
- langchain-google-genai>=2.0.0
9
- langchain-ollama>=0.2.0
10
- langchain-huggingface>=0.1.0
11
- langchain-community>=0.3.0
12
-
13
- # ── LLM providers ──
14
- groq>=0.11.0
15
- together>=1.3.0
16
- openai>=1.50.0
17
- anthropic>=0.39.0
18
- google-generativeai>=0.8.0
19
-
20
- # ── PyTorch (GPU) ──
21
- # moondream pulls torch as a dependency. Without a pre-installed GPU build,
22
- # pip installs the CPU-only wheel from PyPI.
23
- #
24
- # With CUDA 12.x — run ONCE before "pip install -r requirements.txt":
25
- # pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
26
- #
27
- # CPU-only (no pre-step needed — torch installs automatically with moondream):
28
- # pip install -r requirements.txt (no pre-step needed)
29
- #
30
- # The entry below ensures torch is listed as a direct dependency so it shows
31
- # up in "pip list" and is not silently upgraded to a CPU build later.
32
- torch>=2.0.0 # GPU build: pre-install from pytorch.org/whl/cu121 (see above)
33
-
34
- # ── Vision ──
35
- mediapipe==0.10.14
36
- opencv-python>=4.10.0
37
- numpy>=1.26.0
38
- Pillow>=10.0.0 # required by moondream for image loading
39
- moondream>=0.0.5 # local VLM for air-sign trajectory recognition
40
-
41
- # ── Vector search ──
42
- faiss-gpu>=1.8.0 # swap to faiss-gpu if CUDA available
43
- sentence-transformers>=3.2.0
44
-
45
- # ── Knowledge graph ──
46
- networkx>=3.3
47
- # gpickle support is built into networkx
48
-
49
- # ── Embeddings ──
50
- # nomic-embed-text-v1.5 runs via sentence-transformers (HuggingFace)
51
-
52
- # ── Schema validation ──
53
- pydantic>=2.9.0
54
- pydantic-settings>=2.5.0
55
-
56
- # ── Config ──
57
- pyyaml>=6.0.2
58
- python-dotenv>=1.0.1
59
-
60
- # ── Evaluation ──
61
- ragas>=0.2.0
62
- datasets>=3.0.0
63
-
64
- # ── UI ──
65
- gradio>=5.5.0
66
-
67
- # ── Async utilities ──
68
- asyncio-throttle>=1.0.2
69
-
70
- # ── External Knowledge ──
71
- wikipedia-api>=0.6.0 # live Wikipedia page fetch (open-domain queries)
72
- wikipedia>=1.4.0 # Wikipedia search to get ranked title results
73
-
74
- # ── Utilities ──
75
- tenacity>=9.0.0 # retry logic
76
- tqdm>=4.66.0
77
- rich>=13.8.0 # CLI output formatting
78
- typer>=0.12.0 # CLI scripts
79
-
80
- # ── Testing ──
81
- pytest>=8.3.0
82
- pytest-asyncio>=0.24.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ absl-py==2.4.0
2
+ aiohappyeyeballs==2.6.1
3
+ aiohttp==3.13.5
4
+ aiosignal==1.4.0
5
+ annotated-doc==0.0.4
6
+ annotated-types==0.7.0
7
+ anthropic==0.97.0
8
+ anyio==4.13.0
9
+ appdirs==1.4.4
10
+ async-timeout==4.0.3
11
+ asyncio-throttle==1.0.2
12
+ attrs==26.1.0
13
+ beautifulsoup4==4.14.3
14
+ certifi==2026.4.22
15
+ cffi==2.0.0
16
+ charset-normalizer==3.4.7
17
+ click==8.3.2
18
+ contourpy==1.3.2
19
+ cryptography==47.0.0
20
+ cycler==0.12.1
21
+ cyclopts==4.11.1
22
+ dataclasses-json==0.6.7
23
+ datasets==4.8.5
24
+ detect_agent==0.2.0
25
+ dill==0.4.1
26
+ diskcache==5.6.3
27
+ distro==1.9.0
28
+ docstring_parser==0.18.0
29
+ einops==0.8.2
30
+ exceptiongroup==1.3.1
31
+ faiss-cpu==1.13.2
32
+ fastapi==0.136.1
33
+ filetype==1.2.0
34
+ flatbuffers==25.12.19
35
+ fonttools==4.62.1
36
+ frozenlist==1.8.0
37
+ google-ai-generativelanguage==0.6.15
38
+ google-api-core==2.30.3
39
+ google-api-python-client==2.195.0
40
+ google-auth==2.50.0
41
+ google-auth-httplib2==0.3.1
42
+ google-genai==1.74.0
43
+ google-generativeai==0.8.6
44
+ googleapis-common-protos==1.74.0
45
+ greenlet==3.5.0
46
+ groq==0.37.1
47
+ grpcio==1.80.0
48
+ grpcio-status==1.71.2
49
+ h11==0.16.0
50
+ httpcore==1.0.9
51
+ httplib2==0.31.2
52
+ httpx==0.28.1
53
+ httpx-sse==0.4.3
54
+ huggingface_hub==1.13.0
55
+ idna==3.13
56
+ iniconfig==2.3.0
57
+ instructor==1.15.1
58
+ jax==0.4.38
59
+ jaxlib==0.4.38
60
+ jiter==0.13.0
61
+ joblib==1.5.3
62
+ jsonpatch==1.33
63
+ jsonpointer==3.1.1
64
+ kiwisolver==1.5.0
65
+ langchain==1.2.17
66
+ langchain-anthropic==1.4.2
67
+ langchain-classic==1.0.4
68
+ langchain-community==0.4.1
69
+ langchain-core==1.3.2
70
+ langchain-google-genai==4.2.2
71
+ langchain-groq==1.1.2
72
+ langchain-huggingface==1.2.2
73
+ langchain-ollama==1.1.0
74
+ langchain-openai==1.2.1
75
+ langchain-protocol==0.0.15
76
+ langchain-text-splitters==1.1.2
77
+ langchain-together==0.4.0
78
+ langgraph==1.1.10
79
+ langgraph-checkpoint==4.0.3
80
+ langgraph-prebuilt==1.0.13
81
+ langgraph-sdk==0.3.13
82
+ langsmith==0.8.0
83
+ markdown-it-py==4.0.0
84
+ marshmallow==3.26.2
85
+ matplotlib==3.10.9
86
+ mdurl==0.1.2
87
+ mediapipe==0.10.21
88
+ ml_dtypes==0.5.4
89
+ multidict==6.7.1
90
+ multiprocess==0.70.19
91
+ mypy_extensions==1.1.0
92
+ nest-asyncio==1.6.0
93
+ networkx==3.4.2
94
+ numpy==1.26.4
95
+ ollama==0.6.2
96
+ openai==2.33.0
97
+ opencv-contrib-python==4.11.0.86
98
+ opencv-python==4.13.0.92
99
+ opt_einsum==3.4.0
100
+ orjson==3.11.8
101
+ ormsgpack==1.12.2
102
+ packaging==26.2
103
+ pandas==2.3.3
104
+ Pillow==11.3.0
105
+ pluggy==1.6.0
106
+ propcache==0.4.1
107
+ proto-plus==1.27.2
108
+ protobuf==4.25.9
109
+ pyarrow==24.0.0
110
+ pyasn1==0.6.3
111
+ pyasn1_modules==0.4.2
112
+ pycparser==3.0
113
+ pydantic==2.13.3
114
+ pydantic-settings==2.14.0
115
+ pydantic_core==2.46.3
116
+ pydub==0.25.1
117
+ pyparsing==3.3.2
118
+ pytest==9.0.3
119
+ pytest-asyncio==1.3.0
120
+ python-dateutil==2.9.0.post0
121
+ python-dotenv==1.2.2
122
+ python-multipart==0.0.27
123
+ pytz==2026.1.post1
124
+ PyYAML==6.0.3
125
+ ragas==0.4.3
126
+ regex==2026.4.4
127
+ requests==2.33.1
128
+ requests-toolbelt==1.0.0
129
+ rich==14.3.4
130
+ safehttpx==0.1.7
131
+ safetensors==0.7.0
132
+ scikit-learn==1.7.2
133
+ scipy==1.15.3
134
+ semantic-version==2.10.0
135
+ sentence-transformers==5.4.1
136
+ sentencepiece==0.2.1
137
+ shellingham==1.5.4
138
+ six==1.17.0
139
+ sniffio==1.3.1
140
+ sounddevice==0.5.5
141
+ soupsieve==2.8.3
142
+ SQLAlchemy==2.0.49
143
+ starlette==1.0.0
144
+ tabulate==0.10.0
145
+ tenacity==9.1.4
146
+ threadpoolctl==3.6.0
147
+ tiktoken==0.12.0
148
+ together==2.12.0
149
+ tokenizers==0.22.2
150
+ tomli==2.4.1
151
+ tomlkit==0.14.0
152
+ tqdm==4.67.3
153
+ transformers==5.7.0
154
+ typer==0.25.1
155
+ types-PyYAML==6.0.12.20260408
156
+ types-tabulate==0.10.0.20260408
157
+ types-tqdm==4.67.3.20260408
158
+ typing-inspect==0.9.0
159
+ typing-inspection==0.4.2
160
+ typing_extensions==4.15.0
161
+ tzdata==2026.2
162
+ uritemplate==4.2.0
163
+ urllib3==2.6.3
164
+ uuid_utils==0.14.1
165
+ uvicorn==0.46.0
166
+ websockets==12.0
167
+ wikipedia==1.4.0
168
+ Wikipedia-API==0.14.1
169
+ xxhash==3.7.0
170
+ yarl==1.23.0
171
+ zstandard==0.25.0