mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-07-17 08:52:06 +00:00
If huggingface search doesn't give this information, then display question mark.
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
d5968f4ab2
commit
029bd318e9
@ -630,7 +630,7 @@ Rectangle {
|
|||||||
color: theme.mutedDarkTextColor
|
color: theme.mutedDarkTextColor
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
text: ramrequired + qsTr(" GB")
|
text: ramrequired >= 0 ? ramrequired + qsTr(" GB") : "?"
|
||||||
color: theme.textColor
|
color: theme.textColor
|
||||||
font.pixelSize: theme.fontSizeSmaller
|
font.pixelSize: theme.fontSizeSmaller
|
||||||
font.bold: true
|
font.bold: true
|
||||||
@ -652,7 +652,7 @@ Rectangle {
|
|||||||
color: theme.mutedDarkTextColor
|
color: theme.mutedDarkTextColor
|
||||||
}
|
}
|
||||||
Text {
|
Text {
|
||||||
text: parameters
|
text: parameters !== "" ? parameters : "?"
|
||||||
color: theme.textColor
|
color: theme.textColor
|
||||||
font.pixelSize: theme.fontSizeSmaller
|
font.pixelSize: theme.fontSizeSmaller
|
||||||
font.bold: true
|
font.bold: true
|
||||||
|
Loading…
Reference in New Issue
Block a user