Harika22 commited on
Commit
71fc7b5
·
verified ·
1 Parent(s): 5a834af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -10
app.py CHANGED
@@ -1,15 +1,14 @@
1
  import streamlit as st
2
  custom_css = """
3
- <style>
4
- html, body, [data-testid="stAppViewContainer"] {
5
- background: linear-gradient(
6
- rgba(0, 0, 0, 0),
7
- rgba(0, 0, 0, 0)
8
- ),
9
- url("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/QsKOKzW4ju_OC-SazQLuG.jpeg") no-repeat center center fixed;
10
- background-size: cover;
11
- font-family: Arial, sans-serif;
12
- color: #ffffff;
13
  }
14
  h1 {
15
  color: #ffffff;
 
1
  import streamlit as st
2
  custom_css = """
3
+ <style>
4
+ /* Body styling with gradient and background image */
5
+ body {
6
+ background: linear-gradient(to right, rgba(255, 0, 150, 0.7), rgba(0, 204, 255, 0.7)),
7
+ url("https://cdn-uploads.huggingface.co/production/uploads/66bde9bf3c885d04498227a0/Km7QT3n7TxmLt_7wTBL_C.jpeg");
8
+ background-size: cover;
9
+ background-attachment: fixed;
10
+ color: white;
11
+ font-family: 'Arial', sans-serif;
 
12
  }
13
  h1 {
14
  color: #ffffff;