Set API keys for Civitai & HuggingFace in server_settings.yaml.

This commit is contained in:
Christian Bastian
2024-02-12 21:46:03 -05:00
parent f8624698c4
commit 529115b0a4
4 changed files with 26 additions and 15 deletions

View File

@@ -2009,6 +2009,7 @@ class ModelManager extends ComfyDialog {
record["type"] = els.modelTypeSelect.value;
if (record["type"] === "") { return; } // TODO: notify user in app
record["path"] = els.saveDirectoryPath.value;
if (record["path"] === "/") { return; } // TODO: notify user in app
record["name"] = (() => {
const filename = info["fileName"];
const name = els.filename.value;