Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,7 +31,6 @@ SAMPLER_MAP = {
|
|
| 31 |
}
|
| 32 |
|
| 33 |
def inference(
|
| 34 |
-
input_image: Image.Image,
|
| 35 |
prompt: str,
|
| 36 |
negative_prompt: str,
|
| 37 |
guidance_scale: float = 8.0,
|
|
@@ -51,7 +50,7 @@ def inference(
|
|
| 51 |
out = pipe(
|
| 52 |
prompt=prompt,
|
| 53 |
negative_prompt=negative_prompt,
|
| 54 |
-
image=
|
| 55 |
control_image=input_image,
|
| 56 |
guidance_scale=float(guidance_scale),
|
| 57 |
controlnet_conditioning_scale=float(controlnet_conditioning_scale),
|
|
|
|
| 31 |
}
|
| 32 |
|
| 33 |
def inference(
|
|
|
|
| 34 |
prompt: str,
|
| 35 |
negative_prompt: str,
|
| 36 |
guidance_scale: float = 8.0,
|
|
|
|
| 50 |
out = pipe(
|
| 51 |
prompt=prompt,
|
| 52 |
negative_prompt=negative_prompt,
|
| 53 |
+
image=None,
|
| 54 |
control_image=input_image,
|
| 55 |
guidance_scale=float(guidance_scale),
|
| 56 |
controlnet_conditioning_scale=float(controlnet_conditioning_scale),
|