Spaces:
Running
Running
Commit
·
136768b
1
Parent(s):
7f2c965
(wip)debug
Browse files
tts.py
CHANGED
|
@@ -152,7 +152,7 @@ def predict_gpt_sovits_v2(text, user_token=None,reference_audio_path=None):
|
|
| 152 |
|
| 153 |
|
| 154 |
def predict_tts(text, model, user_token=None, reference_audio_path=None):
|
| 155 |
-
print(f"Predicting TTS for {model}")
|
| 156 |
# Exceptions: special models that shouldn't be passed to the router
|
| 157 |
if model == "index-tts":
|
| 158 |
result = predict_index_tts(text, user_token,reference_audio_path)
|
|
|
|
| 152 |
|
| 153 |
|
| 154 |
def predict_tts(text, model, user_token=None, reference_audio_path=None):
|
| 155 |
+
print(f"Predicting TTS for {model}, user_token: {user_token}, reference_audio_path: {reference_audio_path}")
|
| 156 |
# Exceptions: special models that shouldn't be passed to the router
|
| 157 |
if model == "index-tts":
|
| 158 |
result = predict_index_tts(text, user_token,reference_audio_path)
|