Mira1sen commited on
Commit
64f43ed
1 Parent(s): 8826dde

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. tts_gradio.py +5 -5
tts_gradio.py CHANGED
@@ -216,11 +216,11 @@ def microsoft(text, name, style="Neural"):
216
  "</voice>"
217
  "</speak>")
218
 
219
- # response = requests.post(
220
- # 'https://japaneast.tts.speech.microsoft.com/cognitiveservices/v1',
221
- # headers=headers,
222
- # data=data,
223
- # )
224
  return "Success", "sss"
225
 
226
  if __name__ == '__main__':
 
216
  "</voice>"
217
  "</speak>")
218
 
219
+ response = requests.post(
220
+ 'https://japaneast.tts.speech.microsoft.com/cognitiveservices/v1',
221
+ headers=headers,
222
+ data=data,
223
+ )
224
  return "Success", "sss"
225
 
226
  if __name__ == '__main__':