Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import torch
|
|
| 3 |
from PIL.ImageDraw import Draw
|
| 4 |
from diffusers import StableDiffusionPipeline
|
| 5 |
from PIL import Image, ImageOps
|
| 6 |
-
|
| 7 |
|
| 8 |
# Load pipeline once
|
| 9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
|
| 3 |
from PIL.ImageDraw import Draw
|
| 4 |
from diffusers import StableDiffusionPipeline
|
| 5 |
from PIL import Image, ImageOps
|
| 6 |
+
import os
|
| 7 |
|
| 8 |
# Load pipeline once
|
| 9 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|