Compare commits

..

3 Commits

Author SHA1 Message Date
joca 42dbe9c1d1 fix 6 years ago
joca 4591346ddc commit on mac pro 6 years ago
root 0a1e4879a6 merge 6 years ago

@ -58,14 +58,16 @@ from urllib.parse import urlencode, quote # For URL creation
def tts(voice, input_text, speaker):
if speaker =="mono1":
volume_level = "amount:1.0"
if speaker == "mono2":
volume_level = "amount:0.7"
if speaker == "mono3":
volume_level = "amount:0.7"
volume_level = "amount:0.8"
else:
volume_level = "amount:1.0"
# Build the query
query_hash = {"INPUT_TEXT": input_text,

@ -50,8 +50,8 @@ def on_play_intro(client,userdata,msg):
# 'jocavdh:play': False
# }
# }))
call(["python3", "act_debug.py"])
path = 'scripts_play/intro/'
call(["python3", "act.py", 'scripts_play/intro/introduction_01.txt'])
print('The act is over.')
#on_play_question(client, userdata, msg)

Loading…
Cancel
Save