Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ def keywords(text,prompt_num,user_keywords):
|
|
147 |
count += 1
|
148 |
print(i)
|
149 |
image = pipe(i, height=768, width=768, guidance_scale = 10).images[0]
|
150 |
-
image.save("/content/drive/MyDrive/ColabNotebooks/GeneratedImages/" + "sd_image_" +str(count)+ ".png")
|
151 |
images.append(image)
|
152 |
|
153 |
|
@@ -157,7 +157,7 @@ def keywords(text,prompt_num,user_keywords):
|
|
157 |
|
158 |
# save that beautiful picture
|
159 |
imgs_comb = Image.fromarray( imgs_comb)
|
160 |
-
imgs_comb.save("/content/drive/MyDrive/ColabNotebooks/GeneratedImages/" + "Combined.png")
|
161 |
|
162 |
|
163 |
# return imgs_comb #for combined image
|
|
|
147 |
count += 1
|
148 |
print(i)
|
149 |
image = pipe(i, height=768, width=768, guidance_scale = 10).images[0]
|
150 |
+
# image.save("/content/drive/MyDrive/ColabNotebooks/GeneratedImages/" + "sd_image_" +str(count)+ ".png")
|
151 |
images.append(image)
|
152 |
|
153 |
|
|
|
157 |
|
158 |
# save that beautiful picture
|
159 |
imgs_comb = Image.fromarray( imgs_comb)
|
160 |
+
# imgs_comb.save("/content/drive/MyDrive/ColabNotebooks/GeneratedImages/" + "Combined.png")
|
161 |
|
162 |
|
163 |
# return imgs_comb #for combined image
|