load before

This commit is contained in:
talksik
2023-04-29 15:45:51 -07:00
parent b342933018
commit 00e982502f
+3 -2
View File
@@ -4,12 +4,13 @@
# NOTE: run export PYTHONPATH=$PYTHONPATH:$(pwd) to run this file from the root directory of the project
# so that all different modules can be used
from dotenv import load_dotenv
load_dotenv()
import RPi.GPIO as GPIO
import audio.audio as audio
import simple_recorder.apa102 as apa102
import requests
from dotenv import load_dotenv
load_dotenv()
API_URL = "http://192.168.50.159:5001/transcribe"