Update TextGen/router.py
Browse files- TextGen/router.py +2 -2
TextGen/router.py
CHANGED
|
@@ -74,8 +74,8 @@ async def generate_wav(text: str, language: str = "en"):
|
|
| 74 |
result = tts_client.predict(
|
| 75 |
text, # str in 'Text Prompt' Textbox component
|
| 76 |
language, # str in 'Language' Dropdown component
|
| 77 |
-
"./
|
| 78 |
-
"./
|
| 79 |
False, # bool in 'Use Microphone' Checkbox component
|
| 80 |
False, # bool in 'Cleanup Reference Voice' Checkbox component
|
| 81 |
False, # bool in 'Do not use language auto-detect' Checkbox component
|
|
|
|
| 74 |
result = tts_client.predict(
|
| 75 |
text, # str in 'Text Prompt' Textbox component
|
| 76 |
language, # str in 'Language' Dropdown component
|
| 77 |
+
"./blacksmith.mp3", # str (filepath on your computer (or URL) of file) in 'Reference Audio' Audio component
|
| 78 |
+
"./blacksmith.mp3", # str (filepath on your computer (or URL) of file) in 'Use Microphone for Reference' Audio component
|
| 79 |
False, # bool in 'Use Microphone' Checkbox component
|
| 80 |
False, # bool in 'Cleanup Reference Voice' Checkbox component
|
| 81 |
False, # bool in 'Do not use language auto-detect' Checkbox component
|