mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
reduced verbosity of embed loading messages
This commit is contained in:
parent
0d22fd59ed
commit
1d9845557f
@ -964,6 +964,7 @@ class Generate:
|
||||
|
||||
seed_everything(random.randrange(0, np.iinfo(np.uint32).max))
|
||||
if self.embedding_path is not None:
|
||||
print(f'>> Loading embeddings from {self.embedding_path}')
|
||||
for root, _, files in os.walk(self.embedding_path):
|
||||
for name in files:
|
||||
ti_path = os.path.join(root, name)
|
||||
@ -971,7 +972,7 @@ class Generate:
|
||||
ti_path, defer_injecting_tokens=True
|
||||
)
|
||||
print(
|
||||
f'>> Textual inversions available: {", ".join(self.model.textual_inversion_manager.get_all_trigger_strings())}'
|
||||
f'>> Textual inversion triggers: {", ".join(self.model.textual_inversion_manager.get_all_trigger_strings())}'
|
||||
)
|
||||
|
||||
self.model_name = model_name
|
||||
|
@ -69,7 +69,6 @@ class TextualInversionManager:
|
||||
return
|
||||
|
||||
try:
|
||||
print(f'>> Scanning {str(ckpt_path)} for embedding terms')
|
||||
scan_result = scan_file_path(str(ckpt_path))
|
||||
if scan_result.infected_files == 1:
|
||||
print(
|
||||
|
Loading…
Reference in New Issue
Block a user