Skip to content

Commit

Permalink
fix comfy self-start if swarm's path has spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 5, 2023
1 parent 4cab560 commit a632292
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public override async Task Init()
{
EnsureComfyFile();
ComfyUISelfStartSettings settings = SettingsRaw as ComfyUISelfStartSettings;
string modelPath = $"--extra-model-paths-config {Environment.CurrentDirectory}/Data/comfy-auto-model.yaml";
string modelPath = $"--extra-model-paths-config \"{Environment.CurrentDirectory}/Data/comfy-auto-model.yaml\"";
if (!settings.StartScript.EndsWith("main.py"))
{
Logs.Warning($"ComfyUI start script is '{settings.StartScript}', which looks wrong - did you forget to append 'main.py' on the end?");
Expand Down

0 comments on commit a632292

Please sign in to comment.