zenafey commited on
Commit
3e6ef08
1 Parent(s): b21a9fd

Update engine.py

Browse files
Files changed (1) hide show
  1. engine.py +1 -1
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)