tommy24 commited on
Commit
cf6433f
1 Parent(s): 6c069b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import os
4
 
5
  def text_to_speech(text):
6
  test = os.environ.get("test")
7
- endpoint = f"https://api.voicerss.org/?key={test}&src={text}&hl=en-us&v=John"
8
  response = requests.get(endpoint)
9
  with open("output.mp3", "wb") as f:
10
  f.write(response.content)
 
4
 
5
  def text_to_speech(text):
6
  test = os.environ.get("test")
7
+ endpoint = f"https://api.voicerss.org/?key={test}&src={text}&hl=en-us&v=Mike"
8
  response = requests.get(endpoint)
9
  with open("output.mp3", "wb") as f:
10
  f.write(response.content)