Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,25 +7,26 @@ import keras_nlp
|
|
7 |
|
8 |
css = """
|
9 |
body {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
background-image: url('https://stsci-opo.org/STScI-01J6D97YGSQACWK990TH56K6AF.png');
|
11 |
background-size: cover;
|
12 |
background-repeat: no-repeat;
|
13 |
background-position: center;
|
|
|
|
|
14 |
}
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
position: absolute;
|
19 |
-
top: 0;
|
20 |
-
left: 0;
|
21 |
-
right: 0;
|
22 |
-
bottom: 0;
|
23 |
-
background-image: inherit;
|
24 |
-
background-size: inherit;
|
25 |
-
background-repeat: inherit;
|
26 |
-
background-position: inherit;
|
27 |
-
opacity: 0.1; /* Adjust the opacity of the background image */
|
28 |
-
z-index: -1; /* Make sure it doesn't cover the text */
|
29 |
}
|
30 |
"""
|
31 |
|
|
|
7 |
|
8 |
css = """
|
9 |
body {
|
10 |
+
margin: 0;
|
11 |
+
height: 100%;
|
12 |
+
}
|
13 |
+
body::before {
|
14 |
+
content: '';
|
15 |
+
position: fixed;
|
16 |
+
top: 0;
|
17 |
+
left: 0;
|
18 |
+
width: 100vw;
|
19 |
+
height: 100vh;
|
20 |
background-image: url('https://stsci-opo.org/STScI-01J6D97YGSQACWK990TH56K6AF.png');
|
21 |
background-size: cover;
|
22 |
background-repeat: no-repeat;
|
23 |
background-position: center;
|
24 |
+
opacity: 0.05; /* Fainter background image */
|
25 |
+
z-index: -1; /* Keep the background behind text */
|
26 |
}
|
27 |
|
28 |
+
* {
|
29 |
+
font-size: 1.5em; /* Larger text size */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
}
|
31 |
"""
|
32 |
|