Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def predict(dict, prompt="", negative_prompt="", guidance_scale=5, steps=30, str
|
|
47 |
|
48 |
output = pipe(prompt = prompt, negative_prompt=negative_prompt, image=init_image, mask_image=mask, guidance_scale=guidance_scale, num_inference_steps=int(steps), strength=strength)
|
49 |
|
50 |
-
return output.images[0]
|
51 |
|
52 |
|
53 |
css = '''
|
|
|
47 |
|
48 |
output = pipe(prompt = prompt, negative_prompt=negative_prompt, image=init_image, mask_image=mask, guidance_scale=guidance_scale, num_inference_steps=int(steps), strength=strength)
|
49 |
|
50 |
+
return output.images[0] #, gr.update(visible=True)
|
51 |
|
52 |
|
53 |
css = '''
|