Disty0 commited on
Commit
5d7418d
1 Parent(s): 2d29a54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def randomize_seed_fn(seed: int, randomize_seed: bool) -> int:
54
  return seed
55
 
56
  def save_image(img, profile: gr.OAuthProfile | None, metadata: dict):
57
- unique_name = "out/" + str(uuid.uuid4()) + '.png'
58
  img.save(unique_name)
59
  gr_user_history.save_image(label=metadata["prompt"], image=img, profile=profile, metadata=metadata)
60
  return unique_name
 
54
  return seed
55
 
56
  def save_image(img, profile: gr.OAuthProfile | None, metadata: dict):
57
+ unique_name = str(uuid.uuid4()) + '.png'
58
  img.save(unique_name)
59
  gr_user_history.save_image(label=metadata["prompt"], image=img, profile=profile, metadata=metadata)
60
  return unique_name