fuck you for assuming and .txt->.tags
Browse filesSigned-off-by: Balazs Horvath <[email protected]>
.zshrc
CHANGED
@@ -55,6 +55,8 @@ export COMFYUI_PATH="$HOME/ComfyUI"
|
|
55 |
export RUST_BACKTRACE=1
|
56 |
# Opt out of .NET CLI telemetry data collection
|
57 |
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
|
|
|
|
58 |
# Enable color output in the terminal (value might need adjustment)
|
59 |
export CLICOLOR=126
|
60 |
|
@@ -191,6 +193,8 @@ alias grabber="Grabber-cli"
|
|
191 |
# 'pie' is a shortcut for installing a Python package in editable mode
|
192 |
# using the pip command with the --use-pep517 option.
|
193 |
alias pie='pip install -e . --use-pep517'
|
|
|
|
|
194 |
# Alias for creating a signed, verbose git commit
|
195 |
alias gc="git commit -avs --verbose"
|
196 |
# Alias for displaying directory contents with colorized output
|
|
|
55 |
export RUST_BACKTRACE=1
|
56 |
# Opt out of .NET CLI telemetry data collection
|
57 |
export DOTNET_CLI_TELEMETRY_OPTOUT=1
|
58 |
+
# Who the fuck would want this on?!
|
59 |
+
export DISABLE_TELEMETRY=YES
|
60 |
# Enable color output in the terminal (value might need adjustment)
|
61 |
export CLICOLOR=126
|
62 |
|
|
|
193 |
# 'pie' is a shortcut for installing a Python package in editable mode
|
194 |
# using the pip command with the --use-pep517 option.
|
195 |
alias pie='pip install -e . --use-pep517'
|
196 |
+
# Same thing but with ".[torch]"
|
197 |
+
alias piet='pip install -e . --use-pep517 ".[torch]"'
|
198 |
# Alias for creating a signed, verbose git commit
|
199 |
alias gc="git commit -avs --verbose"
|
200 |
# Alias for displaying directory contents with colorized output
|
joy
CHANGED
@@ -681,7 +681,7 @@ def main():
|
|
681 |
nargs="?",
|
682 |
const=-1,
|
683 |
help=(
|
684 |
-
"Use .
|
685 |
"as the images as input to the captioner. "
|
686 |
"Optionally specify the number of tags to use."
|
687 |
),
|
@@ -1033,11 +1033,11 @@ def prompt_from_tags(
|
|
1033 |
|
1034 |
def find_tag_file(image_path):
|
1035 |
"""
|
1036 |
-
Find the corresponding .
|
1037 |
Handles cases where the image has a -(number) suffix.
|
1038 |
"""
|
1039 |
base_name = image_path.stem
|
1040 |
-
tag_file = image_path.with_suffix(".
|
1041 |
|
1042 |
if tag_file.exists():
|
1043 |
return tag_file
|
|
|
681 |
nargs="?",
|
682 |
const=-1,
|
683 |
help=(
|
684 |
+
"Use .tags files with the same base filename "
|
685 |
"as the images as input to the captioner. "
|
686 |
"Optionally specify the number of tags to use."
|
687 |
),
|
|
|
1033 |
|
1034 |
def find_tag_file(image_path):
|
1035 |
"""
|
1036 |
+
Find the corresponding .tags file for the given image path.
|
1037 |
Handles cases where the image has a -(number) suffix.
|
1038 |
"""
|
1039 |
base_name = image_path.stem
|
1040 |
+
tag_file = image_path.with_suffix(".tags")
|
1041 |
|
1042 |
if tag_file.exists():
|
1043 |
return tag_file
|