Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,8 @@ def run_dif(out_prompt,model_drop,cnt):
|
|
38 |
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
|
39 |
|
40 |
# pass prompt and image to pipeline
|
41 |
-
image = pipeline(prompt, image=init_image, strength=0.8).images[0]
|
|
|
42 |
#make_image_grid([init_image, image], rows=1, cols=2)
|
43 |
out_box.append(image)
|
44 |
return out_box,""
|
|
|
38 |
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
|
39 |
|
40 |
# pass prompt and image to pipeline
|
41 |
+
#image = pipeline(prompt, image=init_image, strength=0.8,guidance_scale=8.0,negative_prompt=negative_prompt,num_inference_steps=50).images[0]
|
42 |
+
image = pipeline(prompt, image=init_image, strength=0.8,guidance_scale=8.0,num_inference_steps=2).images[0]
|
43 |
#make_image_grid([init_image, image], rows=1, cols=2)
|
44 |
out_box.append(image)
|
45 |
return out_box,""
|