Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,11 @@ def infer(image_in, prompt):
|
|
47 |
image = Image.fromarray(image)
|
48 |
|
49 |
images = pipe(
|
50 |
-
prompt,
|
|
|
|
|
|
|
|
|
51 |
).images
|
52 |
|
53 |
images[0].save(f"hug_lab.png")
|
|
|
47 |
image = Image.fromarray(image)
|
48 |
|
49 |
images = pipe(
|
50 |
+
prompt,
|
51 |
+
negative_prompt=negative_prompt,
|
52 |
+
image=image,
|
53 |
+
controlnet_conditioning_scale=controlnet_conditioning_scale,
|
54 |
+
num_inference_steps=50
|
55 |
).images
|
56 |
|
57 |
images[0].save(f"hug_lab.png")
|