BeyzaTopbas commited on
Commit
bd9f10e
·
verified ·
1 Parent(s): 18401f9

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +5 -1
src/streamlit_app.py CHANGED
@@ -7,8 +7,12 @@ import os
7
  # LOAD MODEL
8
  # ======================
9
  BASE_DIR = os.path.dirname(os.path.abspath(__file__))
10
- model = joblib.load(os.path.join(BASE_DIR, "breast_cancer_model.pkl"))
 
11
 
 
 
 
12
  st.set_page_config(
13
  page_title="Breast Cancer Prediction",
14
  page_icon="🎗️",
 
7
  # LOAD MODEL
8
  # ======================
9
  BASE_DIR = os.path.dirname(os.path.abspath(__file__))
10
+ model_path = os.path.join(BASE_DIR, "model.pkl")
11
+ model = joblib.load(model_path)
12
 
13
+ # ======================
14
+ # PAGE CONFIG
15
+ # ======================
16
  st.set_page_config(
17
  page_title="Breast Cancer Prediction",
18
  page_icon="🎗️",