killwithabass commited on
Commit
e42d93d
·
verified ·
1 Parent(s): 97a7f6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -88,7 +88,8 @@ def generate_image(prompt, trigger_word, steps, seed, cfg_scale, width, height,
88
  timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
89
  image_filename = f"generated_image_{timestamp}.png"
90
  image_path = os.path.join("/tmp/gradio", image_filename)
91
-
 
92
  # Add Metadata
93
  new_metadata_string = f"{prompt}\nNegative prompt: none \nSteps: {steps}, CFG scale: {cfg_scale}, Seed: {seed}, Lora hashes: AndroFlux-v19: c44afd41ece1"
94
  metadata = PngImagePlugin.PngInfo()
 
88
  timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
89
  image_filename = f"generated_image_{timestamp}.png"
90
  image_path = os.path.join("/tmp/gradio", image_filename)
91
+ print (os.path.realpath(image_path))
92
+
93
  # Add Metadata
94
  new_metadata_string = f"{prompt}\nNegative prompt: none \nSteps: {steps}, CFG scale: {cfg_scale}, Seed: {seed}, Lora hashes: AndroFlux-v19: c44afd41ece1"
95
  metadata = PngImagePlugin.PngInfo()