Update app.py
Browse files
app.py
CHANGED
@@ -493,21 +493,20 @@ def create_gradio_app():
|
|
493 |
""")
|
494 |
|
495 |
gr.Markdown("""
|
496 |
-
|
497 |
-
**accuracy:** `0.9913`
|
498 |
-
**val_accuracy:** `0.8824`
|
499 |
""")
|
500 |
|
501 |
gr.Markdown("""
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
weighted avg 0.90 0.90 0.90 51
|
511 |
""")
|
512 |
|
513 |
with gr.Row():
|
|
|
493 |
""")
|
494 |
|
495 |
gr.Markdown("""
|
496 |
+
## Model Statistics:
|
497 |
+
- **accuracy:** `0.9913`
|
498 |
+
- **val_accuracy:** `0.8824`
|
499 |
""")
|
500 |
|
501 |
gr.Markdown("""
|
502 |
+
### Classification Report:
|
503 |
+
| Class | Precision | Recall | F1-Score | Support |
|
504 |
+
|---------------|-----------|--------|----------|---------|
|
505 |
+
| **no** | 0.89 | 0.85 | 0.87 | 20 |
|
506 |
+
| **yes** | 0.91 | 0.94 | 0.92 | 31 |
|
507 |
+
| **accuracy** | | | 0.90 | 51 |
|
508 |
+
| **macro avg** | 0.90 | 0.89 | 0.90 | 51 |
|
509 |
+
| **weighted avg** | 0.90 | 0.90 | 0.90 | 51 |
|
|
|
510 |
""")
|
511 |
|
512 |
with gr.Row():
|