Spaces:
Running
Running
clean up for public access
Browse filesRemover references to local files
app.py
CHANGED
@@ -5,8 +5,6 @@ from io import BytesIO
|
|
5 |
from huggingface_hub import hf_hub_download
|
6 |
from piper import PiperVoice # Adjust import as per your project structure
|
7 |
|
8 |
-
#file_path = hf_hub_download("rhasspy/piper-voices", "en_GB-alan-medium.onnx")
|
9 |
-
|
10 |
def synthesize_speech(text):
|
11 |
# Load the PiperVoice model and configuration
|
12 |
# model_path = "en_GB-alan-medium.onnx" # this is for loading local model
|
|
|
5 |
from huggingface_hub import hf_hub_download
|
6 |
from piper import PiperVoice # Adjust import as per your project structure
|
7 |
|
|
|
|
|
8 |
def synthesize_speech(text):
|
9 |
# Load the PiperVoice model and configuration
|
10 |
# model_path = "en_GB-alan-medium.onnx" # this is for loading local model
|