b692cf4 8bad412 b692cf4 8bad412 b692cf4 8bad412
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)