Tri4 commited on
Commit
f85ee64
·
verified ·
1 Parent(s): 7fd0b89

Update modules/templates/translator.html

Browse files
Files changed (1) hide show
  1. modules/templates/translator.html +2 -2
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://lewiskimaru-helloworld.hf.space/translate_detect/', {
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://lewiskimaru-helloworld.hf.space/translate_enter/', {
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'