Spaces:
Sleeping
Sleeping
Commit Β·
fb7230b
1
Parent(s): bce6ada
Remove Invalid Only from top right dropdown for now
Browse files
app.py
CHANGED
|
@@ -98,7 +98,6 @@ def create_demo():
|
|
| 98 |
filter_type_to_judgment = {
|
| 99 |
"Correct Only": "correct",
|
| 100 |
"Wrong Only": "wrong",
|
| 101 |
-
"Invalid Only": "invalid"
|
| 102 |
}
|
| 103 |
judgment_to_style = {
|
| 104 |
"correct": "β
Correct",
|
|
@@ -346,7 +345,7 @@ def create_demo():
|
|
| 346 |
scale=3
|
| 347 |
)
|
| 348 |
filter_dropdown = gr.Dropdown(
|
| 349 |
-
choices=["All", "Correct Only", "Wrong Only"
|
| 350 |
value="All",
|
| 351 |
label="π Filter Results (without Pre-Post)",
|
| 352 |
scale=2
|
|
|
|
| 98 |
filter_type_to_judgment = {
|
| 99 |
"Correct Only": "correct",
|
| 100 |
"Wrong Only": "wrong",
|
|
|
|
| 101 |
}
|
| 102 |
judgment_to_style = {
|
| 103 |
"correct": "β
Correct",
|
|
|
|
| 345 |
scale=3
|
| 346 |
)
|
| 347 |
filter_dropdown = gr.Dropdown(
|
| 348 |
+
choices=["All", "Correct Only", "Wrong Only"],
|
| 349 |
value="All",
|
| 350 |
label="π Filter Results (without Pre-Post)",
|
| 351 |
scale=2
|