Update app.py
Browse files
app.py
CHANGED
|
@@ -122,7 +122,10 @@ def image_mod(image):
|
|
| 122 |
generator = 0,
|
| 123 |
callback=pipe_callback)
|
| 124 |
"""
|
| 125 |
-
output1.save("save_"+ppStr+".png")
|
|
|
|
|
|
|
|
|
|
| 126 |
return(output1)
|
| 127 |
#return image.rotate(45)
|
| 128 |
|
|
|
|
| 122 |
generator = 0,
|
| 123 |
callback=pipe_callback)
|
| 124 |
"""
|
| 125 |
+
#output1.save("save_"+ppStr+".png")
|
| 126 |
+
img = Image.open(output1) # ์ด๋ฏธ์ง ํ์ผ๋ช
๋๋ ํ์ผ ์์น
|
| 127 |
+
img.save('save_'+ppStr+'.jpg',"JPEG")
|
| 128 |
+
|
| 129 |
return(output1)
|
| 130 |
#return image.rotate(45)
|
| 131 |
|