spsancti commited on
Commit
5ceb3b1
1 Parent(s): 58ac6f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"