Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -11,7 +11,7 @@ app = FastAPI()
|
|
11 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2", gpu=False) # Set gpu=True if you have GPU support
|
12 |
|
13 |
# Predefined path to the sample voice clone
|
14 |
-
FIXED_SPEAKER_WAV = "
|
15 |
|
16 |
# Function to split text into chunks
|
17 |
def split_text(text: str, words_per_chunk: int = 20):
|
|
|
11 |
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2", gpu=False) # Set gpu=True if you have GPU support
|
12 |
|
13 |
# Predefined path to the sample voice clone
|
14 |
+
FIXED_SPEAKER_WAV = "Bible Verses About Community.wav"
|
15 |
|
16 |
# Function to split text into chunks
|
17 |
def split_text(text: str, words_per_chunk: int = 20):
|