Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,6 @@ def generate(
|
|
89 |
global height
|
90 |
global num_images
|
91 |
|
92 |
-
guidance_scale = 1.0
|
93 |
seed = randomize_seed_fn(seed, randomize_seed)
|
94 |
np.random.seed(seed)
|
95 |
start_time = time.time()
|
@@ -173,6 +172,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
173 |
inputs=[
|
174 |
prompt,
|
175 |
seed,
|
|
|
176 |
num_inference_steps,
|
177 |
randomize_seed
|
178 |
],
|
|
|
89 |
global height
|
90 |
global num_images
|
91 |
|
|
|
92 |
seed = randomize_seed_fn(seed, randomize_seed)
|
93 |
np.random.seed(seed)
|
94 |
start_time = time.time()
|
|
|
172 |
inputs=[
|
173 |
prompt,
|
174 |
seed,
|
175 |
+
1.0,
|
176 |
num_inference_steps,
|
177 |
randomize_seed
|
178 |
],
|