Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +5 -2
requirements.txt
CHANGED
@@ -6,12 +6,15 @@ requests==2.31.0
|
|
6 |
wikipedia==1.4.0
|
7 |
|
8 |
# PyTorch
|
|
|
|
|
9 |
torch==2.0.1
|
10 |
|
11 |
# Hugging Face Ecosystem
|
12 |
transformers==4.31.0
|
13 |
-
|
14 |
-
|
|
|
15 |
|
16 |
# Real-ESRGAN and Dependencies
|
17 |
realesrgan==0.3.0
|
|
|
6 |
wikipedia==1.4.0
|
7 |
|
8 |
# PyTorch
|
9 |
+
# If you're on GPU, replace "cpu" with the appropriate CUDA or MPS package, e.g.:
|
10 |
+
# pip install torch==2.0.1+cu118 -f https://download.pytorch.org/whl/torch_stable.html
|
11 |
torch==2.0.1
|
12 |
|
13 |
# Hugging Face Ecosystem
|
14 |
transformers==4.31.0
|
15 |
+
huggingface_hub==0.14.1 # <--- pinned to ensure 'cached_download' is present
|
16 |
+
diffusers==0.19.3 # <--- references `cached_download` internally
|
17 |
+
accelerate==0.20.3 # optional but often needed for device_map="auto"
|
18 |
|
19 |
# Real-ESRGAN and Dependencies
|
20 |
realesrgan==0.3.0
|