EAV123's picture
Update config.py
9e0e5c7 verified
raw
history blame contribute delete
355 Bytes
# 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"