georg-suno commited on
Commit
6e4b515
1 Parent(s): b64cb0e
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -108,12 +108,12 @@ examples = [
108
  ]
109
 
110
 
111
- def gen_tts(text, history_prompt, temp_semantic, temp_waveform):
112
  history_prompt = PROMPT_LOOKUP[history_prompt]
113
  if DEBUG_MODE:
114
  audio_arr = np.zeros(SAMPLE_RATE)
115
  else:
116
- audio_arr = generate_audio(text, history_prompt=history_prompt, text_temp=temp_semantic, waveform_temp=temp_waveform)
117
  audio_arr = (audio_arr * 32767).astype(np.int16)
118
  return (SAMPLE_RATE, audio_arr)
119
 
 
108
  ]
109
 
110
 
111
+ def gen_tts(text, history_prompt):#, temp_semantic, temp_waveform):
112
  history_prompt = PROMPT_LOOKUP[history_prompt]
113
  if DEBUG_MODE:
114
  audio_arr = np.zeros(SAMPLE_RATE)
115
  else:
116
+ audio_arr = generate_audio(text, history_prompt=history_prompt)#, text_temp=temp_semantic, waveform_temp=temp_waveform)
117
  audio_arr = (audio_arr * 32767).astype(np.int16)
118
  return (SAMPLE_RATE, audio_arr)
119