Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
5f799ae
1
Parent(s):
fc4433a
Turn back the transformers to latest version.
Browse files- app.py +1 -1
- requirements.txt +1 -1
app.py
CHANGED
|
@@ -18,7 +18,7 @@ from io import BytesIO
|
|
| 18 |
import zipfile
|
| 19 |
|
| 20 |
|
| 21 |
-
|
| 22 |
torch.set_float32_matmul_precision('high')
|
| 23 |
torch.jit.script = lambda f: f
|
| 24 |
|
|
|
|
| 18 |
import zipfile
|
| 19 |
|
| 20 |
|
| 21 |
+
transformers.utils.move_cache()
|
| 22 |
torch.set_float32_matmul_precision('high')
|
| 23 |
torch.jit.script = lambda f: f
|
| 24 |
|
requirements.txt
CHANGED
|
@@ -9,6 +9,6 @@ scipy
|
|
| 9 |
scikit-image
|
| 10 |
kornia
|
| 11 |
gradio_imageslider>=0.0.18
|
| 12 |
-
transformers
|
| 13 |
huggingface_hub>=0.25
|
| 14 |
einops
|
|
|
|
| 9 |
scikit-image
|
| 10 |
kornia
|
| 11 |
gradio_imageslider>=0.0.18
|
| 12 |
+
transformers>=4.42.4
|
| 13 |
huggingface_hub>=0.25
|
| 14 |
einops
|