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):
if speaker =="mono1":
volume_level = "amount:1.0"
if speaker == "mono2":
volume_level = "amount:0.7"
if speaker == "mono3":
volume_level = "amount:0.8"
volume_level = "amount:0.7"
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
# }
# }))
path = 'scripts_play/intro/'
call(["python3", "act.py", 'scripts_play/intro/introduction_01.txt'])
call(["python3", "act_debug.py"])
print('The act is over.')
#on_play_question(client, userdata, msg)
@ -87,4 +87,4 @@ client.message_callback_add('hermes/intent/jocavdh:play_verdict', on_play_verdic
# Keep checking for new MQTT messages
client.loop_forever()
client.loop_forever()
Loading…
Cancel
Save