mstkyvz commited on
Commit
edb1739
·
1 Parent(s): ff0bf2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -8,6 +8,19 @@ model = tf.keras.models.load_model("xss_detection_model-3.h5")
8
  with open("vectorizer.pkl", "rb") as file:
9
  vectorizer = pickle.load(file)
10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  # Streamlit başlığı
12
  st.title("XSS Detector")
13
 
 
8
  with open("vectorizer.pkl", "rb") as file:
9
  vectorizer = pickle.load(file)
10
 
11
+ # GIF arka planını eklemek için HTML
12
+ st.markdown(
13
+ """
14
+ <style>
15
+ .stApp {
16
+ background-image: url(https://i.pinimg.com/originals/19/e1/71/19e171391727335f510db47a13269d2d.gif);
17
+ background-size: cover;
18
+ }
19
+ </style>
20
+ """,
21
+ unsafe_allow_html=True
22
+ )
23
+
24
  # Streamlit başlığı
25
  st.title("XSS Detector")
26