JohanBeytell commited on
Commit
2974d9b
Β·
verified Β·
1 Parent(s): 93fef60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -1
app.py CHANGED
@@ -470,7 +470,7 @@ def create_gradio_app():
470
  gr.HTML("""
471
  <div class="main-header">
472
  <h1>🧠 Bioset - Brain Tumor MRI Detection</h1>
473
- <p>Advanced AI-powered MRI analysis with explainable attention visualization with Enhanced Grad-CAM++</p>
474
  </div>
475
  """)
476
 
@@ -483,6 +483,22 @@ def create_gradio_app():
483
 
484
  gr.Markdown("""
485
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
486
 
487
  ## πŸ“– How to Use:
488
  1. **Upload an MRI brain scan** (JPEG, PNG, or other image formats)
 
470
  gr.HTML("""
471
  <div class="main-header">
472
  <h1>🧠 Bioset - Brain Tumor MRI Detection</h1>
473
+ <p>Advanced AI-powered MRI analysis with explainable attention visualization with Enhanced Grad-CAM++.</p>
474
  </div>
475
  """)
476
 
 
483
 
484
  gr.Markdown("""
485
  ---
486
+ > Please read the disclaimer at the bottom of the page first before use.
487
+
488
+ ### Model statistics:
489
+ **accuracy:** `0.9913`
490
+ **val_accuracy:** `0.8824`
491
+ ```
492
+ --- Classification Report ---
493
+ precision recall f1-score support
494
+
495
+ no 0.89 0.85 0.87 20
496
+ yes 0.91 0.94 0.92 31
497
+
498
+ accuracy 0.90 51
499
+ macro avg 0.90 0.89 0.90 51
500
+ weighted avg 0.90 0.90 0.90 51
501
+ ```
502
 
503
  ## πŸ“– How to Use:
504
  1. **Upload an MRI brain scan** (JPEG, PNG, or other image formats)