Skip to content

Commit

Permalink
Add available_languages with current lang support
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Nov 28, 2023
1 parent a1b2dda commit 5fc78fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions neon_stt_plugin_nemo_remote/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,7 @@ def execute(self, audio: AudioData, language: str = None) -> str:
except Exception as e:
LOG.exception(e)
return ""

def available_languages(self) -> set:
# TODO: Read from remote API
return {"en", "es", "fr", "de", "it", "uk", "nl", "pt", "ca"}

0 comments on commit 5fc78fd

Please sign in to comment.