Spaces:
Runtime error
Runtime error
fix utils
Browse files
utils.py
CHANGED
@@ -16,7 +16,7 @@ def pipe_image(prompt,
|
|
16 |
torch_dtype=torch.float32,
|
17 |
use_auth_token=TOKEN
|
18 |
)
|
19 |
-
pipe.to(device)
|
20 |
pipe.enable_attention_slicing()
|
21 |
images = pipe(prompt=prompt,
|
22 |
init_image=init_image,
|
|
|
16 |
torch_dtype=torch.float32,
|
17 |
use_auth_token=TOKEN
|
18 |
)
|
19 |
+
pipe = pipe.to(device)
|
20 |
pipe.enable_attention_slicing()
|
21 |
images = pipe(prompt=prompt,
|
22 |
init_image=init_image,
|