Update requirements.txt
Browse files- requirements.txt +24 -23
requirements.txt
CHANGED
|
@@ -1,28 +1,29 @@
|
|
| 1 |
-
#
|
| 2 |
-
|
|
|
|
| 3 |
|
| 4 |
-
|
|
|
|
|
|
|
| 5 |
|
| 6 |
-
#
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
build-essential \
|
| 10 |
-
gcc \
|
| 11 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
-
#
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
-
#
|
| 17 |
-
|
| 18 |
-
|
|
|
|
| 19 |
|
| 20 |
-
#
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
# Set up non-root user
|
| 24 |
-
RUN useradd -m appuser && chown -R appuser:appuser /app
|
| 25 |
-
USER appuser
|
| 26 |
-
|
| 27 |
-
# Run FastAPI with Uvicorn (Hugging Face Spaces expects port 7860)
|
| 28 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 1 |
+
# Core dependencies
|
| 2 |
+
fastapi==0.95.2
|
| 3 |
+
uvicorn==0.22.0
|
| 4 |
|
| 5 |
+
# HTTP clients
|
| 6 |
+
httpx==0.27.0
|
| 7 |
+
gql[all]==3.5.0
|
| 8 |
|
| 9 |
+
# AI/ML
|
| 10 |
+
openai==0.28.1
|
| 11 |
+
google-generativeai==0.5.0
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
+
# Data processing
|
| 14 |
+
pydantic==1.10.12
|
| 15 |
+
python-dotenv==1.0.0
|
| 16 |
+
pandas==2.0.3
|
| 17 |
+
feedparser==6.0.10
|
| 18 |
+
xmltodict==0.13.0
|
| 19 |
+
requests==2.31.0
|
| 20 |
+
PyYAML==6.0.1
|
| 21 |
|
| 22 |
+
# NLP
|
| 23 |
+
spacy==3.4.4
|
| 24 |
+
scispacy==0.5.1
|
| 25 |
+
https://s3-us-west-2.amazonaws.com/ai2-s2-scispacy/releases/v0.5.1/en_core_sci_sm-0.5.1.tar.gz
|
| 26 |
|
| 27 |
+
# Visualization (optional - remove if not needed)
|
| 28 |
+
plotly==5.15.0
|
| 29 |
+
pyvis==0.3.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|