sachin commited on
Commit
dee62ba
·
1 Parent(s): 9777c25

update-tansc

Browse files
Files changed (1) hide show
  1. src/server/main.py +2 -2
src/server/main.py CHANGED
@@ -835,8 +835,8 @@ async def speech_to_speech(
835
  try:
836
  chat_response = dwani.Chat.create(
837
  prompt=transcription,
838
- src_lang=decrypted_language,
839
- tgt_lang=decrypted_language
840
  )
841
  except dwani.exceptions.DhwaniAPIError as e:
842
  logger.error(f"Chat API failed: {str(e)}")
 
835
  try:
836
  chat_response = dwani.Chat.create(
837
  prompt=transcription,
838
+ src_lang="kan_Knda",
839
+ tgt_lang="kan_Knda"
840
  )
841
  except dwani.exceptions.DhwaniAPIError as e:
842
  logger.error(f"Chat API failed: {str(e)}")