Update engine.py
Browse files
engine.py
CHANGED
@@ -188,7 +188,7 @@ def image_upscale(image, scale_by):
|
|
188 |
image_url = prodia_client.upload(image)
|
189 |
result = prodia_client.upscale_image({
|
190 |
'imageUrl': image_url,
|
191 |
-
'resize': scale_by
|
192 |
})
|
193 |
|
194 |
job = prodia_client.wait(result)
|
|
|
188 |
image_url = prodia_client.upload(image)
|
189 |
result = prodia_client.upscale_image({
|
190 |
'imageUrl': image_url,
|
191 |
+
'resize': int(scale_by)
|
192 |
})
|
193 |
|
194 |
job = prodia_client.wait(result)
|