File size: 186 Bytes
2a58fc8
 
 
55ea44d
2a58fc8
 
55ea44d
2a58fc8
 
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)