File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -809,7 +809,7 @@ struct SDContextParams {
809809 }
810810
811811 void build_embedding_map () {
812- static const std::vector<std::string> valid_ext = {" .pt " , " .safetensors" , " .gguf " };
812+ static const std::vector<std::string> valid_ext = {" .gguf " , " .safetensors" , " .pt " };
813813
814814 if (!fs::exists (embedding_dir) || !fs::is_directory (embedding_dir)) {
815815 return ;
@@ -1606,7 +1606,7 @@ struct SDGenerationParams {
16061606 return ;
16071607 }
16081608 static const std::regex re (R"( <lora:([^:>]+):([^>]+)>)" );
1609- static const std::vector<std::string> valid_ext = {" .pt " , " .safetensors" , " .gguf " };
1609+ static const std::vector<std::string> valid_ext = {" .gguf " , " .safetensors" , " .pt " };
16101610 std::smatch m;
16111611
16121612 std::string tmp = prompt;
You can’t perform that action at this time.
0 commit comments