Mira1sen commited on
Commit
b8aafac
1 Parent(s): 4f2ba2a

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. tts_gradio.py +1 -1
tts_gradio.py CHANGED
@@ -194,7 +194,7 @@ def elevenlabs(text,name):
194
  # for chunk in response.iter_content(chunk_size=CHUNK_SIZE):
195
  # if chunk:
196
  # f.write(chunk)
197
- return "Success", response.content
198
 
199
  def microsoft(text, name, style="Neural"):
200
  """
 
194
  # for chunk in response.iter_content(chunk_size=CHUNK_SIZE):
195
  # if chunk:
196
  # f.write(chunk)
197
+ return "Success", response.iter_content[0]
198
 
199
  def microsoft(text, name, style="Neural"):
200
  """