[PR #191] [MERGED] allow negative tag weight #337

Closed
opened 2026-11-07 17:43:33 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Physton/sd-webui-prompt-all-in-one/pull/191
Author: @mutoe
Created: 8/26/2023
Status: ✅ Merged
Merged: 8/27/2023
Merged by: @Physton

Base: main ← Head: main


📝 Commits (2)

📊 Changes

3 files changed (+10 additions, -10 deletions)

View changed files

📝 src/src/components/phystonPrompt.vue (+1 -1)
📝 src/src/mixins/phystonPrompt/tagMixin.js (+4 -3)
📝 src/src/utils/common.js (+5 -6)

📄 Description

有些lora时允许负数权重的,比如 detail slider 之类的工具 lora。现在无论是点击+-权重还是手动输入,负数权重总会被自动校正为0或者1 。这个PR允许负数权重


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Physton/sd-webui-prompt-all-in-one/pull/191 **Author:** [@mutoe](https://github.com/mutoe) **Created:** 8/26/2023 **Status:** ✅ Merged **Merged:** 8/27/2023 **Merged by:** [@Physton](https://github.com/Physton) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`d097bb7`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/d097bb7187f2b4615c7e6e4f4b5a93653ac117a9) allow negative tag weight - [`64fcbab`](https://github.com/Physton/sd-webui-prompt-all-in-one/commit/64fcbab14ec977b20d3c106b916e2d4d00ca4914) allow negative tag weight ### 📊 Changes **3 files changed** (+10 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `src/src/components/phystonPrompt.vue` (+1 -1) 📝 `src/src/mixins/phystonPrompt/tagMixin.js` (+4 -3) 📝 `src/src/utils/common.js` (+5 -6) </details> ### 📄 Description 有些lora时允许负数权重的,比如 [detail slider](https://civitai.com/models/58390/detail-tweaker-lora-lora) 之类的工具 lora。现在无论是点击+-权重还是手动输入,负数权重总会被自动校正为0或者1 。这个PR允许负数权重 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 17:43:33 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Physton/sd-webui-prompt-all-in-one#337
No description provided.