Set text-generation as a default task value
This commit is contained in:
parent
90d2517fc1
commit
858b88240e
1 changed files with 2 additions and 5 deletions
|
|
@ -34,11 +34,8 @@ class LLMFrontendNode(FrontendNode):
|
|||
field.required = True
|
||||
field.show = True
|
||||
field.is_list = True
|
||||
field.options = [
|
||||
"text-generation",
|
||||
"text2text-generation",
|
||||
"summarization"
|
||||
]
|
||||
field.options = ["text-generation", "text2text-generation", "summarization"]
|
||||
field.value = field.options[0]
|
||||
field.advanced = True
|
||||
|
||||
if display_name := display_names_dict.get(field.name):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue