File size: 355 Bytes
78960a3
6d796e4
ce988ab
9e0e5c7
ce988ab
 
 
78960a3
 
 
 
 
 
ce988ab
78960a3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# config.py
import streamlit as st
from dotenv import load_dotenv
import os

# Load environment variables from .env file
load_dotenv()

# File paths
MODEL_PATH = 'best_model_1.pkl'
ENCODER_DIR = 'label_encoders'

# OpenAI API key (stored in Streamlit secrets)
OPENAI_API_KEY =os.environ.get("DEEPSEEK_API_KEY")
OPENAI_BASE_URL = "https://api.deepseek.com"