Spaces:
Sleeping
Sleeping
"Updated app.py and utils.py: changed Markdown title formatting and removed font size and weight styles from CSS"
Browse files- app.py +1 -1
- src/utils.py +0 -2
app.py
CHANGED
@@ -26,7 +26,7 @@ def prediction_with_loading(image, longitude, latitude, cloud_cover, evapotransp
|
|
26 |
return "An error occurred during prediction. Please try again.", gr.update(visible=False)
|
27 |
|
28 |
with gr.Blocks(css=utils.css, theme=gr.themes.Ocean(primary_hue=gr.themes.colors.red, secondary_hue=gr.themes.colors.pink)) as demo:
|
29 |
-
gr.Markdown("
|
30 |
|
31 |
with gr.Row():
|
32 |
with gr.Column(scale=5):
|
|
|
26 |
return "An error occurred during prediction. Please try again.", gr.update(visible=False)
|
27 |
|
28 |
with gr.Blocks(css=utils.css, theme=gr.themes.Ocean(primary_hue=gr.themes.colors.red, secondary_hue=gr.themes.colors.pink)) as demo:
|
29 |
+
gr.Markdown("## LUMPY SKIN DISEASE PREDICTION", elem_classes="title")
|
30 |
|
31 |
with gr.Row():
|
32 |
with gr.Column(scale=5):
|
src/utils.py
CHANGED
@@ -18,8 +18,6 @@ css="""
|
|
18 |
.title {
|
19 |
font-family: 'Trebuchet MS';
|
20 |
text-align: center;
|
21 |
-
font-size: 2em;
|
22 |
-
font-weight: bold;
|
23 |
padding: 10px 0;
|
24 |
background-color: #1f2121;
|
25 |
}
|
|
|
18 |
.title {
|
19 |
font-family: 'Trebuchet MS';
|
20 |
text-align: center;
|
|
|
|
|
21 |
padding: 10px 0;
|
22 |
background-color: #1f2121;
|
23 |
}
|