Spaces:
Sleeping
Sleeping
"Updated font in gr.Blocks theme from Montserrat to Poppins"
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def prediction_with_loading(image, longitude, latitude, cloud_cover, evapotransp
|
|
25 |
logger.error(f"Error in prediction: {str(e)}")
|
26 |
return "An error occurred during prediction. Please try again.", gr.update(visible=False)
|
27 |
|
28 |
-
with gr.Blocks(css=utils.css, js=utils.js, theme=gr.themes.Ocean(font=gr.themes.GoogleFont("
|
29 |
gr.Markdown("## LUMPY SKIN DISEASE PREDICTION", elem_classes="title")
|
30 |
|
31 |
with gr.Row():
|
|
|
25 |
logger.error(f"Error in prediction: {str(e)}")
|
26 |
return "An error occurred during prediction. Please try again.", gr.update(visible=False)
|
27 |
|
28 |
+
with gr.Blocks(css=utils.css, js=utils.js, theme=gr.themes.Ocean(font=gr.themes.GoogleFont("Poppins"), 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():
|