Spaces:
Runtime error
Runtime error
Update engine.py
Browse files
engine.py
CHANGED
@@ -184,7 +184,7 @@ def controlnet_sd(image, controlnet_model, controlnet_module, threshold_a, thres
|
|
184 |
|
185 |
return job["imageUrl"]
|
186 |
|
187 |
-
def
|
188 |
image_url = prodia_client.upload(image)
|
189 |
result = prodia_client.upscale_image({
|
190 |
'imageUrl': image_url,
|
|
|
184 |
|
185 |
return job["imageUrl"]
|
186 |
|
187 |
+
def image_upscale(image, scale_by):
|
188 |
image_url = prodia_client.upload(image)
|
189 |
result = prodia_client.upscale_image({
|
190 |
'imageUrl': image_url,
|