File size: 186 Bytes
bca38c7
d1b183c
bca38c7
55f2d93
bca38c7
d1b183c
58d1031
d1b183c
 
1
2
3
4
5
6
7
8
9
10
import os
import tensorflow as tf
from dotenv import load_dotenv

load_dotenv()
model_path = os.getenv('MODEL_PATH')

def load_model():
    return tf.keras.models.load_model(model_path)