Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -82,6 +82,10 @@ def generate(prompt,
|
|
82 |
high_scale = scale
|
83 |
low_scale = -1 * scale
|
84 |
for i in progress.tqdm(range(interm_steps), desc="Generating images"):
|
|
|
|
|
|
|
|
|
85 |
cur_scale = low_scale + (high_scale - low_scale) * i / (interm_steps - 1)
|
86 |
image = clip_slider.generate(prompt,
|
87 |
width=768,
|
|
|
82 |
high_scale = scale
|
83 |
low_scale = -1 * scale
|
84 |
for i in progress.tqdm(range(interm_steps), desc="Generating images"):
|
85 |
+
print(f"The value of i is: {i}")
|
86 |
+
print(f"The value of low_scale is: {low_scale}")
|
87 |
+
print(f"The value of high_scale is: {high_scale}")
|
88 |
+
print(f"The value of interm_steps is: {interm_steps}")
|
89 |
cur_scale = low_scale + (high_scale - low_scale) * i / (interm_steps - 1)
|
90 |
image = clip_slider.generate(prompt,
|
91 |
width=768,
|