Update modules/templates/translator.html
Browse files
modules/templates/translator.html
CHANGED
@@ -353,7 +353,7 @@ h1 {
|
|
353 |
|
354 |
// Check if Auto Detect is selected for source language
|
355 |
if (sourceLang === 'auto') {
|
356 |
-
const detectionResponse = await fetch('https://
|
357 |
method: 'POST',
|
358 |
headers: {
|
359 |
'Content-Type': 'application/json'
|
@@ -373,7 +373,7 @@ h1 {
|
|
373 |
// Check if Auto Detect is selected for target language
|
374 |
const targetLanguage = targetLang === 'auto' ? 'eng_Latn' : targetLang;
|
375 |
|
376 |
-
const translationResponse = await fetch('https://
|
377 |
method: 'POST',
|
378 |
headers: {
|
379 |
'Content-Type': 'application/json'
|
|
|
353 |
|
354 |
// Check if Auto Detect is selected for source language
|
355 |
if (sourceLang === 'auto') {
|
356 |
+
const detectionResponse = await fetch('https://jikoni-tmodel.hf.space/translate_detect/', {
|
357 |
method: 'POST',
|
358 |
headers: {
|
359 |
'Content-Type': 'application/json'
|
|
|
373 |
// Check if Auto Detect is selected for target language
|
374 |
const targetLanguage = targetLang === 'auto' ? 'eng_Latn' : targetLang;
|
375 |
|
376 |
+
const translationResponse = await fetch('https://jikoni-tmodel.hf.space/translate_enter/', {
|
377 |
method: 'POST',
|
378 |
headers: {
|
379 |
'Content-Type': 'application/json'
|