Create requirements.txt
Browse files- requirements.txt +27 -0
requirements.txt
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core Dependencies - Hugging Face Spaces Compatible
|
| 2 |
+
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
|
| 11 |
+
plotly==5.15.0
|
| 12 |
+
seaborn==0.12.2
|
| 13 |
+
|
| 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
|