Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
sachin
commited on
Commit
·
dee62ba
1
Parent(s):
9777c25
update-tansc
Browse files- 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=
|
839 |
-
tgt_lang=
|
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)}")
|