Spaces:
Valdis35
/
Runtime error

TeraSpace commited on
Commit
6ff53e1
1 Parent(s): 914f933

Update infer_onnx.py

Browse files
Files changed (1) hide show
  1. infer_onnx.py +3 -0
infer_onnx.py CHANGED
@@ -3,6 +3,9 @@ import os
3
  import onnxruntime
4
  import numpy as np
5
  from huggingface_hub import snapshot_download
 
 
 
6
 
7
  class TTS:
8
  def __init__(self, model_name: str, save_path: str = "./model", add_time_to_end: float = 0.8) -> None:
 
3
  import onnxruntime
4
  import numpy as np
5
  from huggingface_hub import snapshot_download
6
+ from num2words import num2words
7
+ import re
8
+ from transliterate import translit
9
 
10
  class TTS:
11
  def __init__(self, model_name: str, save_path: str = "./model", add_time_to_end: float = 0.8) -> None: