JohanBeytell commited on
Commit
3d9842c
·
verified ·
1 Parent(s): f107003

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -438,10 +438,6 @@ def create_gradio_app():
438
 
439
  # Custom CSS for better styling
440
  custom_css = """
441
- .gradio-button {
442
- background-color: #4CAF50; /* Green buttons */
443
- color: white;
444
- }
445
  .main-header {
446
  text-align: center;
447
  margin-bottom: 2rem;
@@ -458,8 +454,12 @@ def create_gradio_app():
458
  }
459
  }
460
  """
 
 
 
 
461
 
462
- with gr.Blocks(title="🧠 Brain Tumor Detection - Grad-CAM++", theme=gr.themes.Soft(), css=custom_css) as app:
463
 
464
  gr.HTML("""
465
  <div class="main-header">
 
438
 
439
  # Custom CSS for better styling
440
  custom_css = """
 
 
 
 
441
  .main-header {
442
  text-align: center;
443
  margin-bottom: 2rem;
 
454
  }
455
  }
456
  """
457
+
458
+ theme = gr.themes.Base(
459
+ primary_hue="indigo",
460
+ )
461
 
462
+ with gr.Blocks(title="🧠 Brain Tumor Detection - Grad-CAM++", theme=theme, css=custom_css) as app:
463
 
464
  gr.HTML("""
465
  <div class="main-header">