Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +8 -12
requirements.txt
CHANGED
|
@@ -1,17 +1,13 @@
|
|
| 1 |
-
#
|
|
|
|
|
|
|
|
|
|
| 2 |
transformers>=4.40.0
|
| 3 |
-
torch
|
| 4 |
soundfile
|
| 5 |
pydub
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
# DOCX export
|
| 11 |
-
python-docx
|
| 12 |
-
|
| 13 |
-
# For running on Hugging Face Spaces
|
| 14 |
-
spaces
|
| 15 |
-
|
| 16 |
-
# (Optional but useful)
|
| 17 |
tqdm
|
|
|
|
|
|
| 1 |
+
fastapi<0.100 # works with pydantic v1.x installed in Spaces
|
| 2 |
+
uvicorn>=0.14.0
|
| 3 |
+
python-multipart # needed for file uploads
|
| 4 |
+
|
| 5 |
transformers>=4.40.0
|
| 6 |
+
torch # CPU or GPU, Spaces base image usually handles this
|
| 7 |
soundfile
|
| 8 |
pydub
|
| 9 |
|
| 10 |
+
pyzipper # password-protected ZIPs
|
| 11 |
+
python-docx # create Word .docx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
tqdm
|
| 13 |
+
spaces # optional, but nice for HF
|