Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def import_custom_nodes() -> None:
|
|
| 62 |
asyncio.set_event_loop(loop)
|
| 63 |
server_instance = server.PromptServer(loop)
|
| 64 |
execution.PromptQueue(server_instance)
|
| 65 |
-
init_extra_nodes()
|
| 66 |
|
| 67 |
# Setup ComfyUI and custom nodes
|
| 68 |
if not os.path.exists("ComfyUI"):
|
|
@@ -242,7 +242,7 @@ def enhance_image(
|
|
| 242 |
|
| 243 |
fluxguidance = NODE_CLASS_MAPPINGS["FluxGuidance"]()
|
| 244 |
fluxguidance_res = fluxguidance.append(
|
| 245 |
-
guidance=
|
| 246 |
)
|
| 247 |
|
| 248 |
ultimatesdupscale = NODE_CLASS_MAPPINGS["UltimateSDUpscale"]()
|
|
|
|
| 62 |
asyncio.set_event_loop(loop)
|
| 63 |
server_instance = server.PromptServer(loop)
|
| 64 |
execution.PromptQueue(server_instance)
|
| 65 |
+
loop.run_until_complete(init_extra_nodes())
|
| 66 |
|
| 67 |
# Setup ComfyUI and custom nodes
|
| 68 |
if not os.path.exists("ComfyUI"):
|
|
|
|
| 242 |
|
| 243 |
fluxguidance = NODE_CLASS_MAPPINGS["FluxGuidance"]()
|
| 244 |
fluxguidance_res = fluxguidance.append(
|
| 245 |
+
guidance=30, conditioning=get_value_at_index(positive_res, 0)
|
| 246 |
)
|
| 247 |
|
| 248 |
ultimatesdupscale = NODE_CLASS_MAPPINGS["UltimateSDUpscale"]()
|