JohanBeytell commited on
Commit
ef59a7d
·
verified ·
1 Parent(s): b1c6400

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -12
app.py CHANGED
@@ -493,21 +493,20 @@ def create_gradio_app():
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
- 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
-
508
- accuracy 0.90 51
509
- macro avg 0.90 0.89 0.90 51
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():