Update app.py
Browse files
app.py
CHANGED
|
@@ -1316,7 +1316,7 @@ def create_interface():
|
|
| 1316 |
probability_plot = gr.Plot(label="Probability Distribution")
|
| 1317 |
|
| 1318 |
# FIXED Advanced Analysis Tab
|
| 1319 |
-
with gr.Tab("
|
| 1320 |
gr.Markdown("## Explainable AI Analysis")
|
| 1321 |
gr.Markdown("**SHAP and LIME analysis with FIXED implementation** - now handles text input correctly!")
|
| 1322 |
|
|
@@ -1346,8 +1346,8 @@ def create_interface():
|
|
| 1346 |
)
|
| 1347 |
|
| 1348 |
with gr.Row():
|
| 1349 |
-
shap_btn = gr.Button("
|
| 1350 |
-
lime_btn = gr.Button("
|
| 1351 |
|
| 1352 |
gr.Markdown("""
|
| 1353 |
|
|
|
|
| 1316 |
probability_plot = gr.Plot(label="Probability Distribution")
|
| 1317 |
|
| 1318 |
# FIXED Advanced Analysis Tab
|
| 1319 |
+
with gr.Tab("Advanced Analysis"):
|
| 1320 |
gr.Markdown("## Explainable AI Analysis")
|
| 1321 |
gr.Markdown("**SHAP and LIME analysis with FIXED implementation** - now handles text input correctly!")
|
| 1322 |
|
|
|
|
| 1346 |
)
|
| 1347 |
|
| 1348 |
with gr.Row():
|
| 1349 |
+
shap_btn = gr.Button("SHAP Analysis", variant="primary")
|
| 1350 |
+
lime_btn = gr.Button("LIME Analysis", variant="secondary")
|
| 1351 |
|
| 1352 |
gr.Markdown("""
|
| 1353 |
|