Mpavan45 commited on
Commit
f893e71
·
verified ·
1 Parent(s): c256f64

Update pages/6_Model Creation and Evaluation.py

Browse files
pages/6_Model Creation and Evaluation.py CHANGED
@@ -3,9 +3,23 @@ import numpy as np
3
  import pandas as pd
4
 
5
  st.markdown("<h1 style='text-align:center; color:purple;>'Model Creation and Evaluation</h1>",unsafe_allow_html=True)
 
 
6
 
7
- import streamlit as st
8
-
 
 
 
 
 
 
 
 
 
 
 
 
9
  # Title
10
  st.title("Model Training and Selection with Optuna")
11
 
 
3
  import pandas as pd
4
 
5
  st.markdown("<h1 style='text-align:center; color:purple;>'Model Creation and Evaluation</h1>",unsafe_allow_html=True)
6
+ # Define the URL of the background image (use your own image URL)
7
+ background_image_url = "https://cdn-uploads.huggingface.co/production/uploads/675fab3a2d0851e23d23cad3/HjW7hOgulTijaArK4lMUL.jpeg"
8
 
9
+ # Apply custom CSS for the background image
10
+ st.markdown(
11
+ f"""
12
+ <style>
13
+ .stApp {{
14
+ background-image: url("{background_image_url}");
15
+ background-size: cover;
16
+ background-position: center;
17
+ height: 100vh;
18
+ }}
19
+ </style>
20
+ """,
21
+ unsafe_allow_html=True
22
+ )
23
  # Title
24
  st.title("Model Training and Selection with Optuna")
25