Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def text_to_image(text):
|
|
38 |
def generator_image(text):
|
39 |
prompt = text
|
40 |
image = pipe(prompt).images[0]
|
41 |
-
image_name = '-'.join(prompt.split()) + ".
|
42 |
|
43 |
# Guarda la imagen en S3
|
44 |
save_image_to_s3(image, image_name)
|
|
|
38 |
def generator_image(text):
|
39 |
prompt = text
|
40 |
image = pipe(prompt).images[0]
|
41 |
+
image_name = '-'.join(prompt.split()) + ".webp"
|
42 |
|
43 |
# Guarda la imagen en S3
|
44 |
save_image_to_s3(image, image_name)
|