awacke1 commited on
Commit
ae4aefb
1 Parent(s): e1f2fd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ pipe.fuse_lora()
67
  def safe_filename(text):
68
  """Generate a safe filename from a string."""
69
  safe_text = re.sub(r'\W+', '_', text)
70
- timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
71
  return f"{safe_text}_{timestamp}.png"
72
 
73
  def encode_image(image):
 
67
  def safe_filename(text):
68
  """Generate a safe filename from a string."""
69
  safe_text = re.sub(r'\W+', '_', text)
70
+ timestamp = datetime.datetime.now().strftime("%Y%m%d")
71
  return f"{safe_text}_{timestamp}.png"
72
 
73
  def encode_image(image):