Spaces:
Running
Running
salomonsky
commited on
Commit
•
ffd64d8
1
Parent(s):
2b3ba4d
Update app.py
Browse files
app.py
CHANGED
@@ -63,10 +63,8 @@ async def gen(prompt, basemodel, width, height, scales, steps, seed, upscale_fac
|
|
63 |
upscale_image.save(upscale_image_path, format="JPEG")
|
64 |
except Exception as e:
|
65 |
print(f"Error al guardar la imagen escalada: {e}")
|
66 |
-
return [image_path,
|
67 |
return [image_path, upscale_image_path]
|
68 |
-
else:
|
69 |
-
return [image_path, image_path]
|
70 |
|
71 |
css = """
|
72 |
#col-container{ margin: 0 auto; max-width: 1024px;}
|
|
|
63 |
upscale_image.save(upscale_image_path, format="JPEG")
|
64 |
except Exception as e:
|
65 |
print(f"Error al guardar la imagen escalada: {e}")
|
66 |
+
return [image_path, None]
|
67 |
return [image_path, upscale_image_path]
|
|
|
|
|
68 |
|
69 |
css = """
|
70 |
#col-container{ margin: 0 auto; max-width: 1024px;}
|