-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some minor code tweaks #4303
Closed
+25
−82
Closed
Some minor code tweaks #4303
Changes from 14 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
c21e99f
Missing global keyword
jslegers 87e3f6e
Cleanup unnecessary & unused helper functions
jslegers d078cb1
Merge branch 'master' of https://github.com/jslegers/ComfyUI
jslegers 017167c
Remove unused default reference
jslegers f51141c
Merge branch 'comfyanonymous:master' into master
jslegers 0f874d9
Merge pull request #1 from comfyanonymous/master
jslegers dd15655
Missed one occurance of "exists"
jslegers ca94622
double negative -> positive
jslegers ae7cae9
Merge pull request #4 from comfyanonymous/master
jslegers 3fdf749
Merge branch 'comfyanonymous:master' into master
jslegers 27ace3f
Merge pull request #5 from comfyanonymous/master
jslegers eed8f00
Merge branch 'comfyanonymous:master' into master
jslegers d9692f3
Merge pull request #6 from comfyanonymous/master
jslegers 6955a7b
Merge branch 'master' into master
jslegers d11b29d
remove wrong edit
mcmonkey4eva 5e83837
cleanup redundant edit
mcmonkey4eva cb97d53
fix typo
mcmonkey4eva cffa868
Update attention.py
comfyanonymous File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139,6 +139,7 @@ def add_model_folder_path(folder_name: str, full_folder_path: str) -> None: | |
folder_names_and_paths[folder_name] = ([full_folder_path], set()) | ||
|
||
def get_folder_paths(folder_name: str) -> list[str]: | ||
global folder_names_and_paths | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
folder_name = map_legacy(folder_name) | ||
return folder_names_and_paths[folder_name][0][:] | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dim
is definitely not a function here