summaryrefslogtreecommitdiffstats
path: root/desktop/modules/assistant/AssistantPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/modules/assistant/AssistantPage.qml')
-rw-r--r--desktop/modules/assistant/AssistantPage.qml10
1 files changed, 6 insertions, 4 deletions
diff --git a/desktop/modules/assistant/AssistantPage.qml b/desktop/modules/assistant/AssistantPage.qml
index bf35763..b25b33b 100644
--- a/desktop/modules/assistant/AssistantPage.qml
+++ b/desktop/modules/assistant/AssistantPage.qml
@@ -168,7 +168,8 @@ Column {
wrapMode: Text.Wrap
text: "Each chat uses the model picked in the canvas header, else the preferred one. "
+ "Opening the canvas loads that model if it is a local one and another is in. "
- + "Load swaps a model in now, for every client, without changing the preference."
+ + "Load swaps a model in now, for every client, without changing the preference; "
+ + "Unload frees the VRAM until something asks for the model again."
}
Small {
@@ -218,9 +219,10 @@ Column {
Button {
id: loadBtn
anchors { right: parent.right; rightMargin: 6; verticalCenter: parent.verticalCenter }
- text: "Load"
- enabled: page.asst.loading === "" && !modelRow.loaded
- onClicked: page.asst.loadModel(modelRow.modelData.id)
+ text: modelRow.loaded ? "Unload" : "Load"
+ enabled: page.asst.loading === ""
+ onClicked: modelRow.loaded ? page.asst.unloadModel(modelRow.modelData.id)
+ : page.asst.loadModel(modelRow.modelData.id)
}
Button {
anchors { right: loadBtn.left; rightMargin: 6; verticalCenter: parent.verticalCenter }