Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@snakers4
Created October 6, 2021 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snakers4/7f1ec45ad226eb77ac75b04c81e2fc9e to your computer and use it in GitHub Desktop.
Save snakers4/7f1ec45ad226eb77ac75b04c81e2fc9e to your computer and use it in GitHub Desktop.
Silero Text Enhancement Example
import torch
model, example_texts, languages, punct, apply_te = torch.hub.load(repo_or_dir='snakers4/silero-models',
model='silero_te')
input_text = input('Enter input text\n')
apply_te(input_text, lan='en')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment