Update TextGen/router.py
Browse files73 unmodified lines747576777879808173 unmodified linesresult = tts_client.predict(text, # str in 'Text Prompt' Textbox componentlanguage, # str in 'Language' Dropdown component"./narator_out.wav", # str (filepath on your computer (or URL) of file) in 'Reference Audio' Audio component"./narator_out.wav", # str (filepath on your computer (or URL) of file) in 'Use Microphone for Reference' Audio componentFalse, # bool in 'Use Microphone' Checkbox componentFalse, # bool in 'Cleanup Reference Voice' Checkbox componentFalse, # bool in 'Do not use language auto-detect' Checkbox component73 unmodified lines747576777879808173 unmodified linesresult = tts_client.predict(text, # str in 'Text Prompt' Textbox componentlanguage, # str in 'Language' Dropdown component"./blacksmith.mp3", # str (filepath on your computer (or URL) of file) in 'Reference Audio' Audio component"./blacksmith.mp3", # str (filepath on your computer (or URL) of file) in 'Use Microphone for Reference' Audio componentFalse, # bool in 'Use Microphone' Checkbox componentFalse, # bool in 'Cleanup Reference Voice' Checkbox componentFalse, # bool in 'Do not use language auto-detect' Checkbox component
TextGen/router.py+2-2