Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
|
@@ -144,6 +144,8 @@ def get_imgs(base_image_path, style_reference_image_path):
|
|
| 144 |
width, height = base_image.size
|
| 145 |
img_nrows = 400
|
| 146 |
img_ncols = int(width * img_nrows / height)
|
|
|
|
|
|
|
| 147 |
|
| 148 |
iterations = 400
|
| 149 |
for i in range(1, iterations + 1):
|
|
|
|
| 144 |
width, height = base_image.size
|
| 145 |
img_nrows = 400
|
| 146 |
img_ncols = int(width * img_nrows / height)
|
| 147 |
+
global img_nrows
|
| 148 |
+
global img_ncols
|
| 149 |
|
| 150 |
iterations = 400
|
| 151 |
for i in range(1, iterations + 1):
|