API development finished + Docker is working locally
This commit is contained in:
parent
fbf20fe0f0
commit
d119ffb02a
1 changed files with 6 additions and 6 deletions
|
|
@ -11,12 +11,12 @@ from tensorflow.keras.preprocessing.sequence import pad_sequences
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
# TO UNCOMMENT FOR DEVELOPMENT. OTHERWISE, LEAVE AS IS
|
# # TO UNCOMMENT FOR DEVELOPMENT. OTHERWISE, LEAVE AS IS
|
||||||
# Access the .env file
|
# # Access the .env file
|
||||||
PARENT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../"))
|
# PARENT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../"))
|
||||||
sys.path.append(PARENT_DIR)
|
# sys.path.append(PARENT_DIR)
|
||||||
# 🔐 Load environment variables (.env two levels above)
|
# # 🔐 Load environment variables (.env two levels above)
|
||||||
load_dotenv()
|
# load_dotenv()
|
||||||
|
|
||||||
# 🔁 Import the preprocessing function (LOCAL)
|
# 🔁 Import the preprocessing function (LOCAL)
|
||||||
from preprocessing import preprocess_tweet
|
from preprocessing import preprocess_tweet
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue