Update app.py
Browse files
app.py
CHANGED
@@ -483,11 +483,22 @@ def create_gradio_app():
|
|
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
|
@@ -499,12 +510,6 @@ def create_gradio_app():
|
|
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)
|
505 |
-
2. **View automatic preprocessing** and prediction results
|
506 |
-
3. **Choose analysis type**: Quick for rapid assessment, Detailed for comprehensive visualization
|
507 |
-
4. **Download results** for further analysis or documentation
|
508 |
""")
|
509 |
|
510 |
with gr.Row():
|
|
|
483 |
|
484 |
gr.Markdown("""
|
485 |
---
|
486 |
+
> **Please read the disclaimer at the bottom of the page first before use.**
|
487 |
+
|
488 |
+
## π How to Use:
|
489 |
+
1. **Upload an MRI brain scan** (JPEG, PNG, or other image formats)
|
490 |
+
2. **View automatic preprocessing** and prediction results
|
491 |
+
3. **Choose analysis type**: Quick for rapid assessment, Detailed for comprehensive visualization
|
492 |
+
4. **Download results** for further analysis or documentation
|
493 |
+
""")
|
494 |
|
495 |
+
gr.Markdown("""
|
496 |
### Model statistics:
|
497 |
**accuracy:** `0.9913`
|
498 |
**val_accuracy:** `0.8824`
|
499 |
+
""")
|
500 |
+
|
501 |
+
gr.Markdown("""
|
502 |
```
|
503 |
--- Classification Report ---
|
504 |
precision recall f1-score support
|
|
|
510 |
macro avg 0.90 0.89 0.90 51
|
511 |
weighted avg 0.90 0.90 0.90 51
|
512 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
513 |
""")
|
514 |
|
515 |
with gr.Row():
|