Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +11 -9
requirements.txt
CHANGED
|
@@ -1,19 +1,21 @@
|
|
| 1 |
# requirements.txt
|
| 2 |
fastapi
|
| 3 |
-
uvicorn[standard]
|
| 4 |
-
python-dotenv
|
| 5 |
requests
|
| 6 |
# Core ML
|
| 7 |
-
torch
|
| 8 |
transformers
|
| 9 |
diffusers[torch]
|
| 10 |
-
accelerate
|
|
|
|
| 11 |
# Image/Video Handling
|
| 12 |
Pillow
|
| 13 |
-
imageio
|
|
|
|
| 14 |
# API Extras
|
| 15 |
pydantic
|
| 16 |
-
slowapi
|
| 17 |
-
# Optional:
|
| 18 |
-
|
| 19 |
-
|
|
|
|
| 1 |
# requirements.txt
|
| 2 |
fastapi
|
| 3 |
+
uvicorn[standard]
|
| 4 |
+
python-dotenv
|
| 5 |
requests
|
| 6 |
# Core ML
|
| 7 |
+
torch
|
| 8 |
transformers
|
| 9 |
diffusers[torch]
|
| 10 |
+
accelerate
|
| 11 |
+
peft #
|
| 12 |
# Image/Video Handling
|
| 13 |
Pillow
|
| 14 |
+
imageio[ffmpeg] # Ensure ffmpeg support for MP4
|
| 15 |
+
numpy # Added in previous step, ensure it's here
|
| 16 |
# API Extras
|
| 17 |
pydantic
|
| 18 |
+
slowapi
|
| 19 |
+
# Optional: Performance (Uncomment if needed and compatible)
|
| 20 |
+
bitsandbytes
|
| 21 |
+
xformers
|