idlebg commited on
Commit
d46d634
1 Parent(s): ff23bd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ def generate(
170
  images = result.images
171
  for i, image in enumerate(images): # loop over each image
172
  filename = (
173
- "data/"
174
  + sanitize_filename(re.sub(r"\s+", "_", prompt)[:50])
175
  + f"_{i}_{datetime.now().timestamp()}"
176
  )
 
170
  images = result.images
171
  for i, image in enumerate(images): # loop over each image
172
  filename = (
173
+ "/data/"
174
  + sanitize_filename(re.sub(r"\s+", "_", prompt)[:50])
175
  + f"_{i}_{datetime.now().timestamp()}"
176
  )