hashirehtisham commited on
Commit
ce738aa
·
verified ·
1 Parent(s): 1ef2a80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ model_name = "neongeckocom/stt_en_citrinet_512_gamma_0_25"
56
  preprocessor = torch.jit.load(hf_hub_download(model_name, "preprocessor.ts", subfolder="onnx"))
57
  encoder = ort.InferenceSession(hf_hub_download(model_name, "model.onnx", subfolder="onnx"))
58
  tokenizer = spm.SentencePieceProcessor(hf_hub_download(model_name, "tokenizer.spm", subfolder="onnx"))
59
- client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.2")
60
 
61
  def resample(audio, sr):
62
  return soxr.resample(audio, sr, 16000)
 
56
  preprocessor = torch.jit.load(hf_hub_download(model_name, "preprocessor.ts", subfolder="onnx"))
57
  encoder = ort.InferenceSession(hf_hub_download(model_name, "model.onnx", subfolder="onnx"))
58
  tokenizer = spm.SentencePieceProcessor(hf_hub_download(model_name, "tokenizer.spm", subfolder="onnx"))
59
+ client = InferenceClient("HuggingFaceH4/zephyr-7b-alpha")
60
 
61
  def resample(audio, sr):
62
  return soxr.resample(audio, sr, 16000)