Skip to content

Commit fe706fd

Browse files
authored
Refactor L_Llm.py to improve structure and clarity
1 parent c55636c commit fe706fd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

services/L_Llm.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,8 @@ def describeImage(prompt):
223223
cfg.defaultImagePrompt = u"Sempre responda em português. O que você vê?"
224224
if runtime.getLocale().getTag() == ru:
225225
cfg.defaultImagePrompt = u"Всегда отвечайте на русском языке. Что ты видишь?"
226+
if runtime.getLocale().getTag() == sl:
227+
cfg.defaultImagePrompt = u"Vedno odgovori v slovenščini. Kaj je ta slika?"
226228
if runtime.getLocale().getTag() == tr:
227229
cfg.defaultImagePrompt = u"Daima Türkçe yanıt verin. Ne görüyorsun?"
228230
if cfg.url == None or cfg.url == "http://localhost:11434/api/generate" or cfg.url == "http://localhost:11434/v1/chat/completions":
@@ -250,3 +252,4 @@ def describeImage(prompt):
250252

251253

252254

255+

0 commit comments

Comments
 (0)