Compare commits

..

No commits in common. '42dbe9c1d1d538d9aa445e4c12cb950990a4ad4f' and '20d7d2c9743e726b5234f13d0e1f7fe63fc3b923' have entirely different histories.

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

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

Loading…
Cancel
Save