Singularity666 commited on
Commit
c247c6d
·
1 Parent(s): 310cfed

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -11
app.py CHANGED
@@ -21,6 +21,7 @@ st.markdown(
21
  <style>
22
  body {
23
  background-color: transparent;
 
24
  }
25
  .container {
26
  display: flex;
@@ -30,17 +31,13 @@ st.markdown(
30
  border-radius: 15px;
31
  padding: 20px;
32
  }
33
- .stApp {
34
- background-color: transparent;
35
- }
36
- .stText, .stMarkdown, .stTextInput>label, .stButton>button>span {
37
- color: #1c1c1c !important; /* Set the dark text color for text elements */
38
- }
39
- .stButton>button>span {
40
- color: initial !important; /* Reset the text color for the 'Generate Caption' button */
41
- }
42
- .stMarkdown h1, .stMarkdown h2 {
43
- color: red !important; /* Set the text color of h1 and h2 elements to red */
44
  }
45
  </style>
46
  """,
@@ -48,6 +45,7 @@ st.markdown(
48
  )
49
 
50
 
 
51
  device = torch.device("cpu")
52
 
53
  testing_df = pd.read_csv("testing_df.csv")
 
21
  <style>
22
  body {
23
  background-color: transparent;
24
+ color: #000;
25
  }
26
  .container {
27
  display: flex;
 
31
  border-radius: 15px;
32
  padding: 20px;
33
  }
34
+ h1, h2 {
35
+ background: rgba(0, 0, 0, 0.6);
36
+ border-radius: 15px;
37
+ padding: 10px;
38
+ color: white;
39
+ -webkit-backdrop-filter: blur(10px);
40
+ backdrop-filter: blur(10px);
 
 
 
 
41
  }
42
  </style>
43
  """,
 
45
  )
46
 
47
 
48
+
49
  device = torch.device("cpu")
50
 
51
  testing_df = pd.read_csv("testing_df.csv")