mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-30 16:40:05 +08:00
exclude fails_task from default valid labels
This commit is contained in:
@@ -48,6 +48,7 @@ def get_valid_lables() -> ValidLabelsResponse:
|
||||
valid_labels=[
|
||||
LabelDescription(name=l.value, widget=l.widget.value, display_text=l.display_text, help_text=l.help_text)
|
||||
for l in TextLabel
|
||||
if l != TextLabel.fails_task
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user