Spaces:
Running
Running
Commit
·
04d0790
1
Parent(s):
b56bfdc
use fixed initialization instead of selected from file
Browse files- app_text_classification.py +10 -1
app_text_classification.py
CHANGED
|
@@ -120,7 +120,16 @@ def get_demo():
|
|
| 120 |
# we remove data_leakage from the default scanners
|
| 121 |
# Reason: data_leakage barely raises any issues and takes too many requests
|
| 122 |
# when using inference API, causing rate limit error
|
| 123 |
-
scan_config =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 124 |
return gr.update(
|
| 125 |
choices=scan_config, value=selected, label="Scan Settings", visible=True
|
| 126 |
)
|
|
|
|
| 120 |
# we remove data_leakage from the default scanners
|
| 121 |
# Reason: data_leakage barely raises any issues and takes too many requests
|
| 122 |
# when using inference API, causing rate limit error
|
| 123 |
+
scan_config = [
|
| 124 |
+
"ethical_bias",
|
| 125 |
+
"text_perturbation",
|
| 126 |
+
"robustness",
|
| 127 |
+
"performance",
|
| 128 |
+
"underconfidence",
|
| 129 |
+
"overconfidence",
|
| 130 |
+
"spurious_correlation",
|
| 131 |
+
"data_leakage",
|
| 132 |
+
]
|
| 133 |
return gr.update(
|
| 134 |
choices=scan_config, value=selected, label="Scan Settings", visible=True
|
| 135 |
)
|