You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The messages are cute, but some people might not understand what "your file is in another castle" means, or what the awkward phrase "log into browser to download one" means. ;)
Copy file name to clipboardExpand all lines: comfy_cli/file_utils.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -37,11 +37,11 @@ def parse_json(input_data):
37
37
ifmsg_jsonisnotNone:
38
38
if"message"inmsg_json:
39
39
returnf"Unauthorized download ({status_code}).\n{msg_json['message']}\nor you can set civitai api token using `comfy model download --set-civitai-api-token <token>`"
40
-
returnf"Unauthorized download ({status_code}), you might need to manually log into browser to download one"
40
+
returnf"Unauthorized download ({status_code}), you might need to manually log into a browser to download this"
41
41
elifstatus_code==403:
42
-
returnf"Forbidden url ({status_code}), you might need to manually log into browser to download one"
42
+
returnf"Forbidden url ({status_code}), you might need to manually log into a browser to download this"
43
43
elifstatus_code==404:
44
-
return"Sorry, your file is in another castle (404)"
0 commit comments