Spaces:
Running
on
Zero
Running
on
Zero
Update scene_weaver_core.py
Browse files- scene_weaver_core.py +4 -0
scene_weaver_core.py
CHANGED
|
@@ -1053,6 +1053,10 @@ class SceneWeaverCore:
|
|
| 1053 |
if key not in kwargs:
|
| 1054 |
kwargs[key] = value
|
| 1055 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1056 |
# Execute inpainting
|
| 1057 |
result = inpaint_module.execute_inpainting(
|
| 1058 |
image=image,
|
|
|
|
| 1053 |
if key not in kwargs:
|
| 1054 |
kwargs[key] = value
|
| 1055 |
|
| 1056 |
+
# Pass enhance_prompt flag to inpainting module
|
| 1057 |
+
if 'enhance_prompt' not in kwargs:
|
| 1058 |
+
kwargs['enhance_prompt'] = template.enhance_prompt
|
| 1059 |
+
|
| 1060 |
# Execute inpainting
|
| 1061 |
result = inpaint_module.execute_inpainting(
|
| 1062 |
image=image,
|