Spaces:
Runtime error
Runtime error
Commit ·
2f852da
1
Parent(s): f2f8ad7
Commented out line to save file
Browse files- card_generator.py +2 -2
card_generator.py
CHANGED
|
@@ -108,8 +108,8 @@ def render_text_on_card(image_path, pet_name,
|
|
| 108 |
# Add blur, gives it a less artificial look, put into list and return the list since gallery requires lists
|
| 109 |
image = image.filter(ImageFilter.GaussianBlur(.5))
|
| 110 |
image_list.append(image)
|
| 111 |
-
|
| 112 |
-
image = image.save(f"./output/{pet_name}.png")
|
| 113 |
|
| 114 |
|
| 115 |
|
|
|
|
| 108 |
# Add blur, gives it a less artificial look, put into list and return the list since gallery requires lists
|
| 109 |
image = image.filter(ImageFilter.GaussianBlur(.5))
|
| 110 |
image_list.append(image)
|
| 111 |
+
# Can't save on remote deployment to Huggingface in current setup
|
| 112 |
+
# image = image.save(f"./output/{pet_name}.png")
|
| 113 |
|
| 114 |
|
| 115 |
|