Spaces:
Running
on
Zero
Running
on
Zero
Update raw.py
Browse files
raw.py
CHANGED
@@ -29,7 +29,7 @@ def generate_image(prompt, scale, steps, control_image):
|
|
29 |
w, h = control_image.size
|
30 |
# Upscale x1
|
31 |
control_image = control_image.resize((int(w * scale), int(h * scale)))
|
32 |
-
print("Size to: " + control_image.size[0] + ", " + control_image.size[1])
|
33 |
image = pipe(
|
34 |
prompt=prompt,
|
35 |
control_image=control_image,
|
|
|
29 |
w, h = control_image.size
|
30 |
# Upscale x1
|
31 |
control_image = control_image.resize((int(w * scale), int(h * scale)))
|
32 |
+
print("Size to: " + str(control_image.size[0]) + ", " + str(control_image.size[1]))
|
33 |
image = pipe(
|
34 |
prompt=prompt,
|
35 |
control_image=control_image,
|