cavargas10 commited on
Commit
9b24fa1
Β·
verified Β·
1 Parent(s): 07afcee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ def generate_flux_image(
110
  timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
111
  unique_id = str(uuid.uuid4())[:8]
112
  filename = f"{timestamp}_{unique_id}.png"
113
- filepath = os.path.join(SAVE_DIR, filename)
114
  image.save(filepath)
115
  # Devolver la imagen generada y el estado temporal (misma imagen)
116
  return image
 
110
  timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
111
  unique_id = str(uuid.uuid4())[:8]
112
  filename = f"{timestamp}_{unique_id}.png"
113
+ filepath = os.path.join(TMP_DIR, filename)
114
  image.save(filepath)
115
  # Devolver la imagen generada y el estado temporal (misma imagen)
116
  return image