Spaces:
Running
on
Zero
Running
on
Zero
RageshAntony
commited on
fix
Browse files- check_app.py +2 -2
check_app.py
CHANGED
@@ -196,10 +196,10 @@ def create_pipeline_logic(prompt_text, model_name, negative_prompt="", seed=42,
|
|
196 |
else:
|
197 |
pipe = b_pipe
|
198 |
|
199 |
-
gen_seed,image = generate_image_with_progress(
|
200 |
model_name,pipe, prompt_text, num_steps=num_inference_steps, guidance_scale=guidance_scale, seed=seed,negative_prompt = negative_prompt, randomize_seed = randomize_seed, width = width, height = height, progress=progress
|
201 |
)
|
202 |
-
return f"Seed: {gen_seed}", image
|
203 |
def main():
|
204 |
|
205 |
with gr.Blocks() as app:
|
|
|
196 |
else:
|
197 |
pipe = b_pipe
|
198 |
|
199 |
+
gen_seed,image, images = generate_image_with_progress(
|
200 |
model_name,pipe, prompt_text, num_steps=num_inference_steps, guidance_scale=guidance_scale, seed=seed,negative_prompt = negative_prompt, randomize_seed = randomize_seed, width = width, height = height, progress=progress
|
201 |
)
|
202 |
+
return f"Seed: {gen_seed}", image, images
|
203 |
def main():
|
204 |
|
205 |
with gr.Blocks() as app:
|