ryanDing26 commited on
Commit
675fc04
·
1 Parent(s): a4b0709

Please work

Browse files
Files changed (1) hide show
  1. requirements.txt +23 -18
requirements.txt CHANGED
@@ -1,17 +1,16 @@
1
  # Core dependencies
2
  requests
3
  pandas
4
- numpy
5
- pydantic
6
- gradio==4.4.1
 
 
7
 
8
  # LangChain ecosystem
9
- langchain
10
  langchain-core
11
  langchain-openai
12
  langchain-anthropic
13
- langchain-ollama
14
- langchain-huggingface
15
  langgraph
16
 
17
  # LLM API SDKs
@@ -19,27 +18,33 @@ openai
19
  anthropic
20
  python-dotenv
21
 
22
- # Histopathology packages
23
- lazyslide
24
- # histolab
25
- # biolearn
26
- # pyaging
 
27
 
28
- # ML/Vision dependencies (for LazySlide and models)
29
  torch
30
  torchvision
31
  timm
32
  transformers
33
  huggingface-hub
34
  Pillow
35
- scikit-image
36
- opencv-python-headless
37
- matplotlib
38
 
39
- # Additional PRISM dependencies
 
 
 
40
  python-environ
41
  protobuf
42
  sacremoses
43
 
44
- # For whole slide image support
45
- openslide-python
 
 
 
 
 
 
1
  # Core dependencies
2
  requests
3
  pandas
4
+ numpy<2.0
5
+ pydantic>=2.0
6
+
7
+ # Gradio - CRITICAL FIX: was 4.4.1 (typo), should be 4.44.1
8
+ gradio
9
 
10
  # LangChain ecosystem
 
11
  langchain-core
12
  langchain-openai
13
  langchain-anthropic
 
 
14
  langgraph
15
 
16
  # LLM API SDKs
 
18
  anthropic
19
  python-dotenv
20
 
21
+ # Pin problematic dependencies BEFORE lazyslide to avoid backtracking
22
+ xarray==2024.10.0
23
+ shapely==2.0.6
24
+ scipy==1.11.4
25
+ numba==0.60.0
26
+ dask==2024.11.2
27
 
28
+ # ML/Vision dependencies
29
  torch
30
  torchvision
31
  timm
32
  transformers
33
  huggingface-hub
34
  Pillow
 
 
 
35
 
36
+ # LazySlide - now should install quickly with pinned deps above
37
+ lazyslide
38
+
39
+ # PRISM dependencies
40
  python-environ
41
  protobuf
42
  sacremoses
43
 
44
+ # Whole slide image support
45
+ openslide-python
46
+
47
+ # Additional tools (optional - comment out if build still times out)
48
+ scikit-image
49
+ opencv-python-headless
50
+ matplotlib