Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -99,9 +99,12 @@ def img_to_image(image, prompt, neg_prompt, strength, steps, guidance_scale):
|
|
| 99 |
try:
|
| 100 |
if image is None:
|
| 101 |
return None
|
| 102 |
-
|
| 103 |
-
print(f"
|
|
|
|
| 104 |
print(f"Negative Prompt: {neg_prompt}")
|
|
|
|
|
|
|
| 105 |
start_time = time.time()
|
| 106 |
|
| 107 |
pipe = load_img2img()
|
|
|
|
| 99 |
try:
|
| 100 |
if image is None:
|
| 101 |
return None
|
| 102 |
+
|
| 103 |
+
print(f"=== IMAGE-TO-IMAGE TRANSFORMATION ===")
|
| 104 |
+
print(f"Prompt: {prompt}")
|
| 105 |
print(f"Negative Prompt: {neg_prompt}")
|
| 106 |
+
print(f"Parameters - Strength: {strength}, Steps: {steps}, Guidance Scale: {guidance_scale}")
|
| 107 |
+
|
| 108 |
start_time = time.time()
|
| 109 |
|
| 110 |
pipe = load_img2img()
|