Athspi commited on
Commit
49089da
·
verified ·
1 Parent(s): f495e67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,10 +6,10 @@ import numpy as np
6
  import torch # Import torch - might be needed for tokenizer output
7
 
8
  # --- Load tokenizer and ONNX model from Hugging Face Hub ---
9
- repo_id = "Athspi/Gg" # Your repo ID
10
 
11
  tokenizer = AutoTokenizer.from_pretrained(repo_id)
12
- onnx_model_path = f"{repo_id}/mms_tts_eng.onnx" # Path to ONNX model in the root of the repo
13
  ort_session = onnxruntime.InferenceSession(onnx_model_path, providers=['CPUExecutionProvider'])
14
 
15
 
 
6
  import torch # Import torch - might be needed for tokenizer output
7
 
8
  # --- Load tokenizer and ONNX model from Hugging Face Hub ---
9
+ repo_id = "Athspi/Gg" # Correct repo ID
10
 
11
  tokenizer = AutoTokenizer.from_pretrained(repo_id)
12
+ onnx_model_path = f"{repo_id}/mms_tts_eng.onnx" # Path to ONNX model in repo root
13
  ort_session = onnxruntime.InferenceSession(onnx_model_path, providers=['CPUExecutionProvider'])
14
 
15