mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
+1
-1
@@ -1224,7 +1224,7 @@ def install_gradio():
|
||||
def install_compel():
|
||||
if installed('compel', quiet=True):
|
||||
return
|
||||
install("compel==2.3.1", no_deps=True)
|
||||
install("compel==2.4.0", no_deps=True)
|
||||
|
||||
|
||||
def install_pydantic():
|
||||
|
||||
@@ -383,6 +383,8 @@ class DiffusersTextualInversionManager(BaseTextualInversionManager):
|
||||
prompt = prompt.replace(token, replacement)
|
||||
if hasattr(self.pipe, 'embedding_db'):
|
||||
self.pipe.embedding_db.embeddings_used = list(set(self.pipe.embedding_db.embeddings_used))
|
||||
if len(self.pipe.embedding_db.embeddings_used) > 0:
|
||||
log.debug(f'Networks: type=embedding used={self.pipe.embedding_db.embeddings_used}')
|
||||
debug(f'Prompt: convert="{prompt}"')
|
||||
return prompt
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -74,7 +74,7 @@ declare global {
|
||||
recalculate_prompts_img2img?: (...args: unknown[]) => unknown[]; // ui/ui.ts
|
||||
recalculate_prompts_inpaint?: (...args: unknown[]) => unknown[]; // ui/ui.ts
|
||||
recalculate_prompts_control?: (...args: unknown[]) => unknown[]; // ui/ui.ts
|
||||
resolutionChange?: (ar: string, width: number, height: number) => [number, number]; // ui/ui.ts
|
||||
resolutionChange?: (ar: string, width: number, height: number) => unknown[]; // ui/ui.ts
|
||||
consumeDesiredCheckpointName?: (...args: unknown[]) => unknown[]; // ui/ui.ts
|
||||
create_submit_args?: (args: unknown[]) => unknown[]; // ui/ui.ts
|
||||
selectCheckpoint?: (name: string) => void; // ui/ui.ts
|
||||
|
||||
+1
-1
Submodule wiki updated: b8499e3e6e...b05574e376
Reference in New Issue
Block a user