macadeliccc commited on
Commit
61f8100
1 Parent(s): 6dcee6c
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def generate_and_save_image(prompt, negative_prompt=''):
29
 
30
  # Save generated image locally
31
  os.makedirs('generated_images', exist_ok=True)
32
- image.save(image_path, format='jpeg/jpg')
33
 
34
  # Return the path of the saved image to display in Gradio interface
35
  return image_path
 
29
 
30
  # Save generated image locally
31
  os.makedirs('generated_images', exist_ok=True)
32
+ image.save(image_path, format='JPG')
33
 
34
  # Return the path of the saved image to display in Gradio interface
35
  return image_path