Jofthomas HF staff commited on
Commit
072a91d
1 Parent(s): d23e969

Update TextGen/router.py

Browse files
Files changed (1) hide show
  1. 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
- "./narator_out.wav", # str (filepath on your computer (or URL) of file) in 'Reference Audio' Audio component
78
- "./narator_out.wav", # 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
 
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