mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-01 00:29:13 +00:00
Set the folder when the browse opens
This commit is contained in:
@@ -325,6 +325,7 @@ Dialog {
|
|||||||
FolderDialog {
|
FolderDialog {
|
||||||
id: modelPathDialog
|
id: modelPathDialog
|
||||||
title: "Please choose a directory"
|
title: "Please choose a directory"
|
||||||
|
folder: Download.downloadLocalModelsPath
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
Download.downloadLocalModelsPath = selectedFolder
|
Download.downloadLocalModelsPath = selectedFolder
|
||||||
settings.modelPath = Download.downloadLocalModelsPath
|
settings.modelPath = Download.downloadLocalModelsPath
|
||||||
|
@@ -538,6 +538,7 @@ The prompt below is a question to answer, a task to complete, or a conversation
|
|||||||
FolderDialog {
|
FolderDialog {
|
||||||
id: modelPathDialog
|
id: modelPathDialog
|
||||||
title: "Please choose a directory"
|
title: "Please choose a directory"
|
||||||
|
folder: Download.downloadLocalModelsPath
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
Download.downloadLocalModelsPath = selectedFolder
|
Download.downloadLocalModelsPath = selectedFolder
|
||||||
settings.modelPath = Download.downloadLocalModelsPath
|
settings.modelPath = Download.downloadLocalModelsPath
|
||||||
|
Reference in New Issue
Block a user