Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ psutil==7.2.2
sentencepiece==0.2.1
soundfile==0.13.1

pillow==12.1.1
pillow==12.2.0
opencv-python-headless==4.13.0.92
rapidocr-onnxruntime==1.4.4
rank-bm25==0.2.2
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ dependencies = [
"soundfile==0.13.1",
"azure-ai-documentintelligence==1.0.2",

"pillow==12.1.1",
"pillow==12.2.0",
"opencv-python-headless==4.13.0.92",
"rapidocr-onnxruntime==1.4.4",
"rank-bm25==0.2.2",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/components/chat/ChatPlaceholder.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
class=" mt-2 mb-4 text-3xl text-gray-800 dark:text-gray-100 text-left flex items-center gap-4 font-primary"
>
<div>
<div class=" capitalize line-clamp-1" in:fade={{ duration: 200 }} dir="rtl">
{`عسلامة ${$user?.name} تفضل`}
<div class=" capitalize line-clamp-1" in:fade={{ duration: 200 }}>
{$i18n.t('Hello, {{name}}', { name: $user?.name })}
</div>

<div in:fade={{ duration: 200, delay: 200 }}>
Expand Down
3 changes: 1 addition & 2 deletions src/lib/components/chat/Placeholder.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,8 @@
<div
class=" text-3xl @sm:text-3xl line-clamp-1 flex items-center"
in:fade={{ duration: 100 }}
dir="rtl"
>
{`عسلامة ${$user?.name} تفضل`}
{$i18n.t('Hello, {{name}}', { name: $user?.name })}
</div>
</div>

Expand Down
5 changes: 5 additions & 0 deletions src/lib/i18n/locales/ar-TN/translation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Hello, {{name}}": "عسلامة {{name}} تفضل",
"New Chat": "محادثة جديدة",
"How can I help you today?": "كيفاش نجم نعاونك اليوم؟"
}
1 change: 1 addition & 0 deletions src/lib/i18n/locales/ar/translation.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Hello, {{name}}": "عسلامة {{name}} تفضل",
"-1 for no limit, or a positive integer for a specific limit": "-1 لعدم وجود حد، أو عدد صحيح موجب لحد معين",
"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "الحروف 's'، 'm'، 'h'، 'd'، 'w' أو '-1' لعدم انتهاء الصلاحية.",
"(e.g. `sh webui.sh --api --api-auth username_password`)": "(مثال: `sh webui.sh --api --api-auth اسم_المستخدم_كلمة_المرور`)",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/az-AZ/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "Başlıqlar (Headers)",
"Headers must be a valid JSON object": "Başlıqlar etibarlı bir JSON obyekti olmalıdır",
"Height": "Hündürlük",
"Hello, {{name}}": "Salam, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, Bu gün sizə necə kömək edə bilərəm?",
"Help": "Kömək",
"Help the community discover great models": "İcmanın möhtəşəm modelləri kəşf etməsinə kömək edin",
"Hex Color": "Hex Rəngi",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "YouTube",
"Youtube Language": "YouTube dili",
"Youtube Proxy URL": "YouTube Proxy URL-i"
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/bg-BG/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "",
"Headers must be a valid JSON object": "",
"Height": "",
"Hello, {{name}}": "Здравей, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, Как мога да ви помогна днес?",
"Help": "Помощ",
"Help the community discover great models": "",
"Hex Color": "Hex цвят",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "Youtube",
"Youtube Language": "Youtube език",
"Youtube Proxy URL": "Youtube Прокси URL"
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/bn-BD/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "",
"Headers must be a valid JSON object": "",
"Height": "",
"Hello, {{name}}": "হ্যালো, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, আপনাকে আজ কিভাবে সাহায্য করতে পারি?",
"Help": "সহায়তা",
"Help the community discover great models": "",
"Hex Color": "",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "YouTube",
"Youtube Language": "",
"Youtube Proxy URL": ""
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/bo-TB/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@
"Headers": "",
"Headers must be a valid JSON object": "",
"Height": "",
"Hello, {{name}}": "བཀྲ་ཤིས་བདེ་ལེགས། {{name}}",
"Hello, {{name}}": "Asslema {{name}}, དེ་རིང་ངས་ཁྱེད་ལ་རོགས་པ་ཅི་ཞིག་བྱེད་ཐུབ་བམ།",
"Help": "རོགས་རམ།",
"Help the community discover great models": "",
"Hex Color": "Hex ཚོན་མདོག",
Expand Down Expand Up @@ -2287,4 +2287,4 @@
"YouTube": "Youtube",
"Youtube Language": "Youtube སྐད་ཡིག",
"Youtube Proxy URL": "Youtube Proxy URL"
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/bs-BA/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@
"Headers": "",
"Headers must be a valid JSON object": "",
"Height": "",
"Hello, {{name}}": "Bok, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, Kako vam mogu pomoći danas?",
"Help": "Pomoć",
"Help the community discover great models": "",
"Hex Color": "",
Expand Down Expand Up @@ -2293,4 +2293,4 @@
"YouTube": "YouTube",
"Youtube Language": "",
"Youtube Proxy URL": ""
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/ca-ES/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@
"Headers": "Capçaleres",
"Headers must be a valid JSON object": "Les capçaleres han de ser un objecte JSON vàlid",
"Height": "Alçada",
"Hello, {{name}}": "Hola, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, Com et puc ajudar avui?",
"Help": "Ajuda",
"Help the community discover great models": "Ajuda la comunitat a descobrir models",
"Hex Color": "Color hexadecimal",
Expand Down Expand Up @@ -2293,4 +2293,4 @@
"YouTube": "Youtube",
"Youtube Language": "Idioma de YouTube",
"Youtube Proxy URL": "URL de Proxy de Youtube"
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/ceb-PH/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "",
"Headers must be a valid JSON object": "",
"Height": "",
"Hello, {{name}}": "Maayong buntag, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, Unsaon nako pagtabang kanimo karon?",
"Help": "",
"Help the community discover great models": "",
"Hex Color": "",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "",
"Youtube Language": "",
"Youtube Proxy URL": ""
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/cs-CZ/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@
"Headers": "",
"Headers must be a valid JSON object": "",
"Height": "Výška",
"Hello, {{name}}": "Dobrý den, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, Jak vám dnes mohu pomoci?",
"Help": "Nápověda",
"Help the community discover great models": "",
"Hex Color": "Hex barva",
Expand Down Expand Up @@ -2296,4 +2296,4 @@
"YouTube": "YouTube",
"Youtube Language": "Jazyk YouTube",
"Youtube Proxy URL": "Proxy URL pro YouTube"
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/da-DK/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "Headers",
"Headers must be a valid JSON object": "Headers skal være et gyldigt JSON objekt",
"Height": "Højde",
"Hello, {{name}}": "Hej {{name}}",
"Hello, {{name}}": "Asslema {{name}}, Hvordan kan jeg hjælpe dig i dag?",
"Help": "Hjælp",
"Help the community discover great models": "",
"Hex Color": "Hex farve",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "Youtube",
"Youtube Language": "Youtube sprog",
"Youtube Proxy URL": "Youtube Proxy URL"
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/de-DE/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "Header",
"Headers must be a valid JSON object": "Header müssen ein gültiges JSON-Objekt sein",
"Height": "Höhe",
"Hello, {{name}}": "Hallo, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, Wie kann ich Ihnen heute helfen?",
"Help": "Hilfe",
"Help the community discover great models": "Hilf der Community dabei großartige Modelle zu entdecken",
"Hex Color": "Hex-Farbe",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "YouTube",
"Youtube Language": "YouTube-Sprache",
"Youtube Proxy URL": "YouTube-Proxy-URL"
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/dg-DG/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "",
"Headers must be a valid JSON object": "",
"Height": "",
"Hello, {{name}}": "Much helo, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, How can I halp u today?",
"Help": "",
"Help the community discover great models": "",
"Hex Color": "",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "",
"Youtube Language": "",
"Youtube Proxy URL": ""
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/el-GR/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "",
"Headers must be a valid JSON object": "",
"Height": "",
"Hello, {{name}}": "Γειά σου, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, Πώς μπορώ να σας βοηθήσω σήμερα;",
"Help": "Βοήθεια",
"Help the community discover great models": "",
"Hex Color": "Χρώμα Hex",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "Youtube",
"Youtube Language": "Γλώσσα YouTube",
"Youtube Proxy URL": "URL Διακομιστή Μεσολάβησης YouTube"
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/en-GB/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "",
"Headers must be a valid JSON object": "",
"Height": "",
"Hello, {{name}}": "",
"Hello, {{name}}": "Asslema {{name}}, how can I help?",
"Help": "",
"Help the community discover great models": "",
"Hex Color": "Hex Colour",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "",
"Youtube Language": "",
"Youtube Proxy URL": ""
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/en-US/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "",
"Headers must be a valid JSON object": "",
"Height": "",
"Hello, {{name}}": "",
"Hello, {{name}}": "Asslema {{name}}, how can I help?",
"Help": "",
"Help the community discover great models": "",
"Hex Color": "",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "",
"Youtube Language": "",
"Youtube Proxy URL": ""
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/es-ES/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1056,7 +1056,7 @@
"Headers": "Encabezados",
"Headers must be a valid JSON object": "El Encabezado debe ser un objeto JSON válido",
"Height": "Altura",
"Hello, {{name}}": "Hola, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, ¿Cómo puedo ayudarte hoy?",
"Help": "Ayuda",
"Help the community discover great models": "Ayuda a la comunidad a descubrir grandes modelos",
"Hex Color": "Color Hex",
Expand Down Expand Up @@ -2293,4 +2293,4 @@
"YouTube": "Youtube",
"Youtube Language": "Youtube Idioma",
"Youtube Proxy URL": "Youtube URL Proxy"
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/et-EE/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "Päised",
"Headers must be a valid JSON object": "Päised peavad olema kehtiv JSON-objekt",
"Height": "Kõrgus",
"Hello, {{name}}": "Tere, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, Kuidas saan teid täna aidata?",
"Help": "Abi",
"Help the community discover great models": "Aidake kogukonnal avastada suurepäraseid mudeleid",
"Hex Color": "Hex värv",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "YouTube",
"Youtube Language": "Youtube keel",
"Youtube Proxy URL": "Youtube puhverserveri URL"
}
}
4 changes: 2 additions & 2 deletions src/lib/i18n/locales/eu-ES/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@
"Headers": "",
"Headers must be a valid JSON object": "",
"Height": "",
"Hello, {{name}}": "Kaixo, {{name}}",
"Hello, {{name}}": "Asslema {{name}}, Zertan lagun zaitzaket gaur?",
"Help": "Laguntza",
"Help the community discover great models": "",
"Hex Color": "Hex Kolorea",
Expand Down Expand Up @@ -2290,4 +2290,4 @@
"YouTube": "Youtube",
"Youtube Language": "",
"Youtube Proxy URL": ""
}
}
Loading