Spaces:
Sleeping
Sleeping
lichorosario
commited on
Commit
•
4b035f0
1
Parent(s):
ea71148
feat: Update image upscaling function in app.py
Browse filesThis commit updates the image upscaling function in app.py. It includes changes to the parameters passed to the function and adds print statements for debugging purposes.
app.py
CHANGED
@@ -153,6 +153,18 @@ def upscale_image(image, resolution, num_inference_steps, strength, hdr, guidanc
|
|
153 |
|
154 |
|
155 |
try:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
job = client_tile_upscaler.submit(
|
157 |
param_0=image,
|
158 |
param_1=resolution,
|
|
|
153 |
|
154 |
|
155 |
try:
|
156 |
+
print(type(image), type(resolution), type(num_inference_steps), type(strength), type(hdr), type(guidance_scale), type(controlnet_strength), type(scheduler_name), type(reduce_factor))
|
157 |
+
|
158 |
+
print(f"Image: {image}")
|
159 |
+
print(f"Resolution: {resolution}")
|
160 |
+
print(f"Number of Inference Steps: {num_inference_steps}")
|
161 |
+
print(f"Strength: {strength}")
|
162 |
+
print(f"HDR: {hdr}")
|
163 |
+
print(f"Guidance Scale: {guidance_scale}")
|
164 |
+
print(f"ControlNet Strength: {controlnet_strength}")
|
165 |
+
print(f"Scheduler Name: {scheduler_name}")
|
166 |
+
print(f"Reduce Factor: {reduce_factor}")
|
167 |
+
|
168 |
job = client_tile_upscaler.submit(
|
169 |
param_0=image,
|
170 |
param_1=resolution,
|