Update app.py
Browse files
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=
|
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">
|