Update app.py
Browse files
app.py
CHANGED
|
@@ -166,7 +166,6 @@ def create_interface():
|
|
| 166 |
# Email Text Results and Analysis
|
| 167 |
result_output = gr.Textbox(label="Classification Result")
|
| 168 |
confidence_output = gr.Textbox(label="Confidence Score", interactive=False)
|
| 169 |
-
accuracy_output = gr.Textbox(label="Accuracy", interactive=False)
|
| 170 |
|
| 171 |
analyze_button = gr.Button("Analyze Email")
|
| 172 |
|
|
@@ -183,8 +182,6 @@ def create_interface():
|
|
| 183 |
outputs=[result_output, confidence_output]
|
| 184 |
)
|
| 185 |
|
| 186 |
-
|
| 187 |
-
|
| 188 |
gr.Markdown("## 📊 Model Performance Analytics")
|
| 189 |
with gr.Row():
|
| 190 |
gr.Textbox(value=performance_metrics["accuracy"], label="Accuracy", interactive=False)
|
|
|
|
| 166 |
# Email Text Results and Analysis
|
| 167 |
result_output = gr.Textbox(label="Classification Result")
|
| 168 |
confidence_output = gr.Textbox(label="Confidence Score", interactive=False)
|
|
|
|
| 169 |
|
| 170 |
analyze_button = gr.Button("Analyze Email")
|
| 171 |
|
|
|
|
| 182 |
outputs=[result_output, confidence_output]
|
| 183 |
)
|
| 184 |
|
|
|
|
|
|
|
| 185 |
gr.Markdown("## 📊 Model Performance Analytics")
|
| 186 |
with gr.Row():
|
| 187 |
gr.Textbox(value=performance_metrics["accuracy"], label="Accuracy", interactive=False)
|