Update app.py
Browse files
app.py
CHANGED
@@ -12,9 +12,6 @@ from PIL import Image
|
|
12 |
import numpy as np
|
13 |
import gc
|
14 |
|
15 |
-
# Set default dtype to float16
|
16 |
-
jax.config.update("jax_default_dtype", "float16")
|
17 |
-
|
18 |
# Set up cache directories
|
19 |
cache_dir = "/tmp/huggingface_cache"
|
20 |
model_cache_dir = os.path.join(cache_dir, "stable_diffusion_model")
|
|
|
12 |
import numpy as np
|
13 |
import gc
|
14 |
|
|
|
|
|
|
|
15 |
# Set up cache directories
|
16 |
cache_dir = "/tmp/huggingface_cache"
|
17 |
model_cache_dir = os.path.join(cache_dir, "stable_diffusion_model")
|