Spaces:
Runtime error
Runtime error
made paths compatible with windows and linux
Browse files
__pycache__/commands.cpython-38.pyc
ADDED
|
Binary file (1.57 kB). View file
|
|
|
__pycache__/constants.cpython-38.pyc
CHANGED
|
Binary files a/__pycache__/constants.cpython-38.pyc and b/__pycache__/constants.cpython-38.pyc differ
|
|
|
commands.py
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
class ResponseManager:
|
| 2 |
def activate_heated_seats(self):
|
| 3 |
-
return "
|
| 4 |
|
| 5 |
def deactivate_heated_seats(self):
|
| 6 |
-
return "
|
| 7 |
|
| 8 |
def activate_cooled_seats(self):
|
| 9 |
-
return "
|
| 10 |
|
| 11 |
def deactivate_cooled_seats(self):
|
| 12 |
-
return "
|
| 13 |
|
| 14 |
def activate_massage_seats(self):
|
| 15 |
-
return "
|
| 16 |
|
| 17 |
def deactivate_massage_seats(self):
|
| 18 |
-
return "
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
|
| 3 |
+
|
| 4 |
class ResponseManager:
|
| 5 |
def activate_heated_seats(self):
|
| 6 |
+
return os.path.join("assets", "command_responses", "heated_activated.wav")
|
| 7 |
|
| 8 |
def deactivate_heated_seats(self):
|
| 9 |
+
return os.path.join("assets", "command_responses", "heated_deactivated.wav")
|
| 10 |
|
| 11 |
def activate_cooled_seats(self):
|
| 12 |
+
return os.path.join("assets", "command_responses", "cooled_activated.wav")
|
| 13 |
|
| 14 |
def deactivate_cooled_seats(self):
|
| 15 |
+
return os.path.join("assets", "command_responses", "ooled_deactivated.wav")
|
| 16 |
|
| 17 |
def activate_massage_seats(self):
|
| 18 |
+
return os.path.join("assets", "command_responses", "massage_activated.wav")
|
| 19 |
|
| 20 |
def deactivate_massage_seats(self):
|
| 21 |
+
return os.path.join("assets", "command_responses", "massage_deactivated.wav")
|
flagged/component 0/tmp7zfrxwn1.wav
ADDED
|
Binary file (21.1 kB). View file
|
|
|
flagged/component 0/tmpj9jcosbt.wav
ADDED
|
Binary file (21.1 kB). View file
|
|
|
flagged/log.csv
CHANGED
|
@@ -5,3 +5,5 @@ C:\Users\admin\Desktop\DS JRP\Programming\Python\Portfolio\Voice_Commands\flagge
|
|
| 5 |
C:\Users\admin\Desktop\DS JRP\Programming\Python\Portfolio\Voice_Commands\flagged\component 0\tmpj5vph7ui.wav,,,,2023-02-19 19:22:46.434333
|
| 6 |
,my neck is cold,,,2023-02-19 19:28:56.486805
|
| 7 |
,my neck need no more heating,,,2023-02-19 19:29:16.234959
|
|
|
|
|
|
|
|
|
| 5 |
C:\Users\admin\Desktop\DS JRP\Programming\Python\Portfolio\Voice_Commands\flagged\component 0\tmpj5vph7ui.wav,,,,2023-02-19 19:22:46.434333
|
| 6 |
,my neck is cold,,,2023-02-19 19:28:56.486805
|
| 7 |
,my neck need no more heating,,,2023-02-19 19:29:16.234959
|
| 8 |
+
C:\Users\admin\Desktop\DS JRP\Programming\Python\Portfolio\Voice_Commands\flagged\component 0\tmp7zfrxwn1.wav,,,,2023-02-19 20:28:51.150010
|
| 9 |
+
C:\Users\admin\Desktop\DS JRP\Programming\Python\Portfolio\Voice_Commands\flagged\component 0\tmpj9jcosbt.wav,,,,2023-02-19 20:29:16.601422
|