Sukanth07 commited on
Commit
f0adec7
·
1 Parent(s): 723f330

"Updated font in gr.Blocks theme from Montserrat to Poppins"

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("Montserrat"), 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():
 
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():