ericjedha commited on
Commit
915cc4a
·
verified ·
1 Parent(s): ae4d524

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -12,6 +12,12 @@ from PIL import Image
12
  import plotly.express as px
13
  import time
14
 
 
 
 
 
 
 
15
  css = """
16
  #warning {background-color: #FFCCCB}
17
  .feedback textarea {font-size: 16px !important}
@@ -395,7 +401,7 @@ def generate_gradcam_ui(progress=gr.Progress()):
395
  # ---- INTERFACE GRADIO ----
396
  example_paths = ["ISIC_0024627.jpg", "ISIC_0025539.jpg", "ISIC_0031410.jpg"]
397
 
398
- with gr.Blocks(theme=gr.themes.Ocean(), title="Analyse de lésions") as demo:
399
  gr.Markdown("# 🔬 Skin Care : analyse de lésions cutanées")
400
 
401
  models_status = []
 
12
  import plotly.express as px
13
  import time
14
 
15
+ theme = gr.themes.Soft(
16
+ primary_hue="purple",
17
+ secondary_hue="yellow",
18
+ text_size="sm",
19
+ )
20
+
21
  css = """
22
  #warning {background-color: #FFCCCB}
23
  .feedback textarea {font-size: 16px !important}
 
401
  # ---- INTERFACE GRADIO ----
402
  example_paths = ["ISIC_0024627.jpg", "ISIC_0025539.jpg", "ISIC_0031410.jpg"]
403
 
404
+ with gr.Blocks(theme=theme, title="Analyse de lésions") as demo:
405
  gr.Markdown("# 🔬 Skin Care : analyse de lésions cutanées")
406
 
407
  models_status = []