aiqtech commited on
Commit
2d34dd2
·
verified ·
1 Parent(s): f3cae17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,8 +9,8 @@ import torch
9
  from diffusers import DiffusionPipeline
10
  from PIL import Image
11
 
12
- # Create permanent storage directory
13
- SAVE_DIR = "/content/generated_images"
14
  if not os.path.exists(SAVE_DIR):
15
  os.makedirs(SAVE_DIR, exist_ok=True)
16
 
 
9
  from diffusers import DiffusionPipeline
10
  from PIL import Image
11
 
12
+ # Create permanent storage directory in the current working directory
13
+ SAVE_DIR = os.path.join(os.getcwd(), "generated_images")
14
  if not os.path.exists(SAVE_DIR):
15
  os.makedirs(SAVE_DIR, exist_ok=True)
16