Spaces:
Runtime error
Runtime error
macadeliccc
commited on
Commit
•
61f8100
1
Parent(s):
6dcee6c
test
Browse files
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='
|
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
|