Spaces:
Sleeping
Sleeping
mindexplorer
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -30,18 +30,18 @@ def stream_data(value1,path,value2):
|
|
30 |
for word in value2.split(" "):
|
31 |
yield word + " "
|
32 |
time.sleep(0.02)
|
33 |
-
background_image = """
|
34 |
-
<style>
|
35 |
-
[data-testid="stAppViewContainer"] > .main {
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
}
|
41 |
-
</style>
|
42 |
-
"""
|
43 |
-
|
44 |
-
st.markdown(background_image, unsafe_allow_html=True)
|
45 |
|
46 |
disease_classes = ['COPD','Healthy', 'Other']
|
47 |
|
|
|
30 |
for word in value2.split(" "):
|
31 |
yield word + " "
|
32 |
time.sleep(0.02)
|
33 |
+
background_image = """
|
34 |
+
<style>
|
35 |
+
[data-testid="stAppViewContainer"] > .main {
|
36 |
+
background-image: url('Assets/cover.jpg');
|
37 |
+
background-size: 100vw 100vh; # This sets the size to cover 100% of the viewport width and height
|
38 |
+
background-position: center;
|
39 |
+
background-repeat: no-repeat;
|
40 |
+
}
|
41 |
+
</style>
|
42 |
+
"""
|
43 |
+
|
44 |
+
st.markdown(background_image, unsafe_allow_html=True)
|
45 |
|
46 |
disease_classes = ['COPD','Healthy', 'Other']
|
47 |
|