From a59fdde858ea7d1a1a80d4bf74f2dea19eb69af0 Mon Sep 17 00:00:00 2001 From: talksik Date: Sat, 29 Apr 2023 16:16:38 -0700 Subject: [PATCH] making sure the program works --- youwilldie/app.py | 8 ++++++++ youwilldie/requirements.txt | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 youwilldie/requirements.txt diff --git a/youwilldie/app.py b/youwilldie/app.py index 1181678..1b6e4a1 100644 --- a/youwilldie/app.py +++ b/youwilldie/app.py @@ -12,6 +12,14 @@ clear currentTextBlock after 200 characters as well - good morning! """ +from dotenv import load_dotenv +load_dotenv() +import sys +import os +# Get the current working directory +cwd = os.getcwd() +sys.path.append(cwd) + import time import RPi.GPIO as GPIO diff --git a/youwilldie/requirements.txt b/youwilldie/requirements.txt new file mode 100644 index 0000000..d653029 --- /dev/null +++ b/youwilldie/requirements.txt @@ -0,0 +1,5 @@ +RPi.GPIO +requests +spidev +pyaudio +python-dotenv