From 560304593bb2d15653bd78aed8a3b0288f3fae36 Mon Sep 17 00:00:00 2001 From: joca Date: Mon, 3 Jun 2019 15:02:34 +0200 Subject: [PATCH] smoothen things mac pro --- .gitignore | 0 README.md | 0 act.py | 0 asound.conf | 0 config.py | 0 logic.py | 0 play_script.py | 0 scripts_play/debug/debug_01.txt | 0 scripts_play/debug/debug_02.txt | 2 +- scripts_play/debug/demo.txt | 0 scripts_play/debug/interruption_02.txt | 0 scripts_play/intro/introduction_01.txt | 0 scripts_play/questions/act_01.txt | 0 scripts_play/questions/act_02.txt | 0 scripts_play/questions/act_03.txt | 0 scripts_play/questions/act_04.txt | 0 scripts_play/verdict/verdict_01.txt | 0 scripts_play/verdict/verdict_02.txt | 0 smart_speaker_theatre.py | 1 + sounds/congress.wav | Bin 20 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 README.md mode change 100644 => 100755 act.py mode change 100644 => 100755 asound.conf mode change 100644 => 100755 config.py mode change 100644 => 100755 logic.py mode change 100644 => 100755 play_script.py mode change 100644 => 100755 scripts_play/debug/debug_01.txt mode change 100644 => 100755 scripts_play/debug/debug_02.txt mode change 100644 => 100755 scripts_play/debug/demo.txt mode change 100644 => 100755 scripts_play/debug/interruption_02.txt mode change 100644 => 100755 scripts_play/intro/introduction_01.txt mode change 100644 => 100755 scripts_play/questions/act_01.txt mode change 100644 => 100755 scripts_play/questions/act_02.txt mode change 100644 => 100755 scripts_play/questions/act_03.txt mode change 100644 => 100755 scripts_play/questions/act_04.txt mode change 100644 => 100755 scripts_play/verdict/verdict_01.txt mode change 100644 => 100755 scripts_play/verdict/verdict_02.txt mode change 100644 => 100755 sounds/congress.wav diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/act.py b/act.py old mode 100644 new mode 100755 diff --git a/asound.conf b/asound.conf old mode 100644 new mode 100755 diff --git a/config.py b/config.py old mode 100644 new mode 100755 diff --git a/logic.py b/logic.py old mode 100644 new mode 100755 diff --git a/play_script.py b/play_script.py old mode 100644 new mode 100755 diff --git a/scripts_play/debug/debug_01.txt b/scripts_play/debug/debug_01.txt old mode 100644 new mode 100755 diff --git a/scripts_play/debug/debug_02.txt b/scripts_play/debug/debug_02.txt old mode 100644 new mode 100755 index 4ae9be5..f3c199c --- a/scripts_play/debug/debug_02.txt +++ b/scripts_play/debug/debug_02.txt @@ -1,3 +1,3 @@ ROGUE: Test a question -RASA: Well, O K Google. What time is it? [Listen to Google Home] +RASA: Well, O K Google. What is the weather in Rotterdam? [Listen to Google Home] SAINT: We got an answer. diff --git a/scripts_play/debug/demo.txt b/scripts_play/debug/demo.txt old mode 100644 new mode 100755 diff --git a/scripts_play/debug/interruption_02.txt b/scripts_play/debug/interruption_02.txt old mode 100644 new mode 100755 diff --git a/scripts_play/intro/introduction_01.txt b/scripts_play/intro/introduction_01.txt old mode 100644 new mode 100755 diff --git a/scripts_play/questions/act_01.txt b/scripts_play/questions/act_01.txt old mode 100644 new mode 100755 diff --git a/scripts_play/questions/act_02.txt b/scripts_play/questions/act_02.txt old mode 100644 new mode 100755 diff --git a/scripts_play/questions/act_03.txt b/scripts_play/questions/act_03.txt old mode 100644 new mode 100755 diff --git a/scripts_play/questions/act_04.txt b/scripts_play/questions/act_04.txt old mode 100644 new mode 100755 diff --git a/scripts_play/verdict/verdict_01.txt b/scripts_play/verdict/verdict_01.txt old mode 100644 new mode 100755 diff --git a/scripts_play/verdict/verdict_02.txt b/scripts_play/verdict/verdict_02.txt old mode 100644 new mode 100755 diff --git a/smart_speaker_theatre.py b/smart_speaker_theatre.py index d035030..6a3275b 100755 --- a/smart_speaker_theatre.py +++ b/smart_speaker_theatre.py @@ -50,6 +50,7 @@ def on_play_intro(client,userdata,msg): # 'jocavdh:play': False # } # })) + import pdb; pdb.set_trace() path = 'scripts_play/intro/' call(["python3", "act.py", 'scripts_play/intro/introduction_01.txt']) print('The act is over.') diff --git a/sounds/congress.wav b/sounds/congress.wav old mode 100644 new mode 100755