-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cache now takes wildcard definitions into consideration. * ComfyUI: node is not cached if wildcard processing is active. * Add a space with prefix and suffix if needed. * Checks requirements before installing them.
- Loading branch information
Showing
10 changed files
with
281 additions
and
82 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
import os | ||
import launch | ||
|
||
requirements_filename = os.path.join(os.path.dirname(os.path.realpath(__file__)), "requirements.txt") | ||
launch.run_pip(f'install -r "{requirements_filename}"', "requirements for Prompt Post-Processor") | ||
|
||
try: | ||
from modules.launch_utils import requirements_met, run_pip # A1111 | ||
|
||
if not requirements_met(requirements_filename): | ||
run_pip(f'install -r "{requirements_filename}"', "requirements for Prompt Post-Processor") | ||
except ImportError: | ||
import launch | ||
|
||
launch.run_pip(f'install -r "{requirements_filename}"', "requirements for Prompt Post-Processor") |
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
Oops, something went wrong.