mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-21 14:51:07 -08:00
Added .webp .bmp
This commit is contained in:
@@ -161,7 +161,7 @@ def train_embedding(embedding_name, learn_rate, data_root, log_directory, traini
|
||||
|
||||
shared.state.textinfo = "Initializing textual inversion training..."
|
||||
shared.state.job_count = steps
|
||||
extns = [".jpg",".jpeg",".png"]
|
||||
extns = [".jpg",".jpeg",".png",".webp",".bmp"]
|
||||
|
||||
filename = os.path.join(shared.cmd_opts.embeddings_dir, f'{embedding_name}.pt')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user