Spaces:
Runtime error
Runtime error
Create requirements.txt
Browse files- requirements.txt +34 -0
requirements.txt
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Core dependencies
|
2 |
+
torch>=2.0.0
|
3 |
+
transformers>=4.36.2
|
4 |
+
gradio>=3.50.0
|
5 |
+
openai>=1.0.0
|
6 |
+
|
7 |
+
# Used for type annotations and concurrency
|
8 |
+
typing-extensions
|
9 |
+
aiohttp
|
10 |
+
aiofiles
|
11 |
+
|
12 |
+
# If using .env for env vars
|
13 |
+
python-dotenv
|
14 |
+
|
15 |
+
# If you're running suicide prediction (custom ML model)
|
16 |
+
scikit-learn
|
17 |
+
pandas
|
18 |
+
numpy
|
19 |
+
nltk
|
20 |
+
joblib
|
21 |
+
|
22 |
+
# Optional (model loading utilities, helpful for HF integrations)
|
23 |
+
huggingface-hub
|
24 |
+
accelerate
|
25 |
+
|
26 |
+
# If you use Flask or serve static CSS (optional)
|
27 |
+
flask
|
28 |
+
|
29 |
+
# Compatibility packages for some versions
|
30 |
+
protobuf<4
|
31 |
+
pydantic<2.0
|
32 |
+
|
33 |
+
# UI rendering & formatting (optional but useful for markdown/CSS)
|
34 |
+
markdown
|