Spaces:
Runtime error
Runtime error
Arjun Moorthy
commited on
Commit
·
92042a1
1
Parent(s):
7523532
Fix: Add requirements.txt to Oncolife folder for proper Space configuration
Browse files- Oncolife/requirements.txt +20 -0
Oncolife/requirements.txt
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Medical Chatbot HF Space Requirements
|
2 |
+
|
3 |
+
# Web framework
|
4 |
+
gradio>=4.44.0
|
5 |
+
|
6 |
+
# Machine learning libraries - specific versions for compatibility
|
7 |
+
torch>=2.1.0,<3.0.0
|
8 |
+
transformers>=4.35.0,<5.0.0
|
9 |
+
accelerate>=0.24.0
|
10 |
+
|
11 |
+
# HF Spaces GPU support
|
12 |
+
spaces>=0.1.0
|
13 |
+
|
14 |
+
# Basic utilities
|
15 |
+
numpy>=1.21.0,<2.0.0
|
16 |
+
requests>=2.28.0
|
17 |
+
|
18 |
+
# Additional dependencies for better device handling
|
19 |
+
safetensors>=0.4.0
|
20 |
+
tokenizers>=0.15.0
|