Em4e commited on
Commit
fbf7416
·
verified ·
1 Parent(s): 61264b5

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +5 -13
requirements.txt CHANGED
@@ -3,8 +3,8 @@ streamlit==1.28.1
3
  pandas==2.0.3
4
  numpy==1.24.3
5
 
6
- # Graph Analysis (replaced NetworkX with Grape)
7
- grape-graph==0.1.7
8
 
9
  # Visualization
10
  matplotlib==3.7.2
@@ -14,14 +14,6 @@ seaborn==0.12.2
14
  # Additional utilities
15
  scipy==1.11.1
16
 
17
- # Note for Hugging Face Spaces:
18
- # Grape requires Rust to be installed for compilation
19
- # If deployment fails, consider using NetworkX as fallback:
20
- # networkx==3.1
21
- #
22
- # For local development with Grape:
23
- # 1. Install Rust: https://rustup.rs/
24
- # 2. Run: pip install grape-graph
25
- #
26
- # Alternative: Use pre-compiled wheels if available:
27
- # pip install --only-binary=grape-graph grape-graph
 
3
  pandas==2.0.3
4
  numpy==1.24.3
5
 
6
+ # Graph Analysis - NetworKit (high-performance network analysis)
7
+ networkit>=10.1
8
 
9
  # Visualization
10
  matplotlib==3.7.2
 
14
  # Additional utilities
15
  scipy==1.11.1
16
 
17
+ # Note: NetworKit provides high-performance graph algorithms
18
+ # Much faster than NetworkX while being compatible with HF Spaces
19
+ # No Rust compilation required - uses optimized C++ backend