Skip to content

Commit f448514

Browse files
junta grupos aiGui
1 parent 0500318 commit f448514

1 file changed

Lines changed: 56 additions & 45 deletions

File tree

usr/share/biglinux/biglinux-settings/ai_page.py

Lines changed: 56 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from base_page import BaseSettingsPage, _
22

3+
34
class AIPage(BaseSettingsPage):
45
def __init__(self, main_window, **kwargs):
56
super().__init__(main_window, **kwargs)
@@ -9,30 +10,28 @@ def __init__(self, main_window, **kwargs):
910
# Create the container (base method)
1011
content = self.create_scrolled_content()
1112

12-
# Create the group (base method)
13-
group = self.create_group(
14-
_("Artificial Intelligence"),
15-
_("AI settings and tools."),
16-
"ai"
13+
# # Create the group (base method)
14+
# group = self.create_group(
15+
# _("Artificial Intelligence"), _("AI settings and tools."), "ai"
16+
# )
17+
# content.append(group)
18+
19+
# Create the group Ollama (base method)
20+
aiGui = self.create_group(
21+
_("AI Interfaces"),
22+
_("Graphical interface for artificial intelligence.."),
23+
"ai",
1724
)
18-
content.append(group)
25+
content.append(aiGui)
1926

2027
# Create the group Ollama (base method)
2128
ollamaServer = self.create_group(
2229
_("Ollma Server"),
2330
_("Choose which Ollama server is best for your hardware."),
24-
"ai"
31+
"ai",
2532
)
2633
content.append(ollamaServer)
2734

28-
# Create the group Ollama (base method)
29-
aiGui = self.create_group(
30-
_("AI Interfaces"),
31-
_("Graphical interface for artificial intelligence.."),
32-
"ai"
33-
)
34-
content.append(aiGui)
35-
3635
# Generative AI for Krita
3736
# self.create_row(
3837
# group,
@@ -44,12 +43,38 @@ def __init__(self, main_window, **kwargs):
4443
# )
4544
# ChatAI
4645
self.create_row(
47-
group,
46+
aiGui,
4847
_("ChatAI"),
4948
_("A variety of chats like Plasmoid for your KDE Plasma desktop."),
5049
"chatai",
5150
"chatai-symbolic",
5251
)
52+
# Ollama LAB
53+
self.create_row(
54+
aiGui,
55+
_("Ollama LAB"),
56+
_("Graphical interface for managing Ollama models and chat."),
57+
"ollamaLab",
58+
"ollama-symbolic",
59+
)
60+
# ChatBox
61+
self.create_row(
62+
aiGui,
63+
_("ChatBox"),
64+
_("User-friendly Desktop Client App for AI Models/LLMs."),
65+
"chatbox",
66+
"chatbox-symbolic",
67+
)
68+
# LM Studio
69+
self.create_row(
70+
aiGui,
71+
_("LM Studio"),
72+
_(
73+
"LM Studio - A desktop app for exploring and running large language models locally."
74+
),
75+
"lmStudio",
76+
"lmstudio-symbolic",
77+
)
5378
# Ollama CPU
5479
ollama = self.create_row(
5580
ollamaServer,
@@ -66,7 +91,9 @@ def __init__(self, main_window, **kwargs):
6691
"ollamaShare",
6792
"ollama-symbolic",
6893
ollama,
69-
info_text=_("Ollama server is running.\nAddress: http://{}:11434").format(local_ip),
94+
info_text=_("Ollama server is running.\nAddress: http://{}:11434").format(
95+
local_ip
96+
),
7097
)
7198
# Ollama Vulkan
7299
ollama = self.create_row(
@@ -84,7 +111,9 @@ def __init__(self, main_window, **kwargs):
84111
"ollamaShare",
85112
"ollama-symbolic",
86113
ollama,
87-
info_text=_("Ollama server is running.\nAddress: http://{}:11434").format(local_ip),
114+
info_text=_("Ollama server is running.\nAddress: http://{}:11434").format(
115+
local_ip
116+
),
88117
)
89118
# Ollama Nvidia CUDA
90119
ollama = self.create_row(
@@ -102,13 +131,17 @@ def __init__(self, main_window, **kwargs):
102131
"ollamaShare",
103132
"ollama-symbolic",
104133
ollama,
105-
info_text=_("Ollama server is running.\nAddress: http://{}:11434").format(local_ip),
134+
info_text=_("Ollama server is running.\nAddress: http://{}:11434").format(
135+
local_ip
136+
),
106137
)
107138
# Ollama AMD ROCm
108139
ollama = self.create_row(
109140
ollamaServer,
110141
_("Ollama AMD ROCm"),
111-
_("Local AI server. For newer AMD GPUs, starting from the 6000 series.\nConsider using Vulkan, in many tests, Vulkan performed better than ROCm."),
142+
_(
143+
"Local AI server. For newer AMD GPUs, starting from the 6000 series.\nConsider using Vulkan, in many tests, Vulkan performed better than ROCm."
144+
),
112145
"ollamaAmd",
113146
"ollama-symbolic",
114147
info_text=_("Ollama server is running.\nAddress: http://localhost:11434"),
@@ -120,31 +153,9 @@ def __init__(self, main_window, **kwargs):
120153
"ollamaShare",
121154
"ollama-symbolic",
122155
ollama,
123-
info_text=_("Ollama server is running.\nAddress: http://{}:11434").format(local_ip),
124-
)
125-
# Ollama LAB
126-
self.create_row(
127-
aiGui,
128-
_("Ollama LAB"),
129-
_("Graphical interface for managing Ollama models and chat."),
130-
"ollamaLab",
131-
"ollama-symbolic",
132-
)
133-
# ChatBox
134-
self.create_row(
135-
aiGui,
136-
_("ChatBox"),
137-
_("User-friendly Desktop Client App for AI Models/LLMs."),
138-
"chatbox",
139-
"chatbox-symbolic",
140-
)
141-
# LM Studio
142-
self.create_row(
143-
aiGui,
144-
_("LM Studio"),
145-
_("LM Studio - A desktop app for exploring and running large language models locally."),
146-
"lmStudio",
147-
"lmstudio-symbolic",
156+
info_text=_("Ollama server is running.\nAddress: http://{}:11434").format(
157+
local_ip
158+
),
148159
)
149160

150161
# Syncs

0 commit comments

Comments
 (0)