Skip to content

Commit

Permalink
use whisper for swahili
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Feb 21, 2024
1 parent 67dee52 commit d5af85f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions daras_ai_v2/bots.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,9 @@ def _handle_audio_msg(billing_account_user, bot: BotInterface):
selected_model = AsrModels.whisper_telugu_large_v2.name
case "bho":
selected_model = AsrModels.vakyansh_bhojpuri.name
case "sw":
selected_model = AsrModels.whisper_large_v2.name
language = "sw"
# case "en":
# selected_model = AsrModels.usm.name
# language = "am-et"
Expand Down

0 comments on commit d5af85f

Please sign in to comment.