Spaces:
Runtime error
Runtime error
fix utils, add token
Browse files
utils.py
CHANGED
|
@@ -2,7 +2,7 @@ import torch
|
|
| 2 |
from diffusers import StableDiffusionImg2ImgPipeline
|
| 3 |
|
| 4 |
import os
|
| 5 |
-
TOKEN = os.environ.get('
|
| 6 |
|
| 7 |
torch.cuda.empty_cache()
|
| 8 |
device = "cpu"
|
|
|
|
| 2 |
from diffusers import StableDiffusionImg2ImgPipeline
|
| 3 |
|
| 4 |
import os
|
| 5 |
+
TOKEN = os.environ.get('TOKEN_SD') or True
|
| 6 |
|
| 7 |
torch.cuda.empty_cache()
|
| 8 |
device = "cpu"
|