Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,13 +4,28 @@ os.environ["KERAS_BACKEND"] = "tensorflow"
|
|
4 |
import keras
|
5 |
import keras_nlp
|
6 |
|
|
|
7 |
css = """
|
8 |
body {
|
9 |
background-image: url('https://stsci-opo.org/STScI-01J6D97YGSQACWK990TH56K6AF.png');
|
10 |
background-size: cover;
|
11 |
background-repeat: no-repeat;
|
12 |
background-position: center;
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
}
|
15 |
"""
|
16 |
|
|
|
4 |
import keras
|
5 |
import keras_nlp
|
6 |
|
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 |
+
body::before {
|
17 |
+
content: '';
|
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 |
|