mythicalguy commited on
Commit ·
9c81d3b
1
Parent(s): e335b2f
Try to fix error
Browse files- .gitignore +3 -0
- app.py +0 -1
- requirements.txt +10 -10
.gitignore
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
=0.34.0
|
| 2 |
+
=4.19.2
|
| 3 |
+
__pycache__/imagic_stable_diffusion.cpython-310.pyc
|
app.py
CHANGED
|
@@ -8,7 +8,6 @@ from PIL import Image
|
|
| 8 |
|
| 9 |
MAX_SEED = np.iinfo(np.int32).max
|
| 10 |
|
| 11 |
-
@spaces.GPU
|
| 12 |
def infer(
|
| 13 |
image,
|
| 14 |
prompt,
|
|
|
|
| 8 |
|
| 9 |
MAX_SEED = np.iinfo(np.int32).max
|
| 10 |
|
|
|
|
| 11 |
def infer(
|
| 12 |
image,
|
| 13 |
prompt,
|
requirements.txt
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
accelerate
|
| 2 |
-
diffusers
|
| 3 |
-
gradio
|
| 4 |
-
spaces
|
| 5 |
-
numpy
|
| 6 |
-
pillow
|
| 7 |
-
torch
|
| 8 |
-
transformers
|
| 9 |
-
safetensors
|
| 10 |
-
tqdm
|
|
|
|
| 1 |
+
accelerate==0.33.0
|
| 2 |
+
diffusers==0.34.0
|
| 3 |
+
gradio==4.44.0
|
| 4 |
+
spaces>=0.28.3
|
| 5 |
+
numpy==1.26.4
|
| 6 |
+
pillow==10.4.0
|
| 7 |
+
torch==2.4.1
|
| 8 |
+
transformers==4.44.2
|
| 9 |
+
safetensors==0.4.5
|
| 10 |
+
tqdm==4.66.5
|