Update requirements.txt
Browse files- requirements.txt +8 -10
requirements.txt
CHANGED
|
@@ -1,11 +1,9 @@
|
|
| 1 |
gradio
|
| 2 |
-
torch #
|
| 3 |
-
transformers>=4.24.0
|
| 4 |
-
diffusers>=0.11.1
|
| 5 |
-
|
| 6 |
-
sentencepiece
|
| 7 |
-
#
|
| 8 |
-
#
|
| 9 |
-
#
|
| 10 |
-
# whisper 需要 ffmpeg 支持,Hugging Face Spaces 基础镜像通常自带
|
| 11 |
-
# pip install ffmpeg-python # 或者在系统层面安装 ffmpeg
|
|
|
|
| 1 |
gradio
|
| 2 |
+
torch --index-url https://download.pytorch.org/whl/cpu # Force CPU version of torch
|
| 3 |
+
transformers>=4.24.0
|
| 4 |
+
diffusers>=0.11.1
|
| 5 |
+
openai>=1.0 # Add openai library
|
| 6 |
+
sentencepiece
|
| 7 |
+
# accelerate is likely not needed for pure CPU operation
|
| 8 |
+
# ffmpeg should be available in HF Spaces base images, if not:
|
| 9 |
+
# ffmpeg-python
|
|
|
|
|
|