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.required = True
|
||||||
field.show = True
|
field.show = True
|
||||||
field.is_list = True
|
field.is_list = True
|
||||||
field.options = [
|
field.options = ["text-generation", "text2text-generation", "summarization"]
|
||||||
"text-generation",
|
field.value = field.options[0]
|
||||||
"text2text-generation",
|
|
||||||
"summarization"
|
|
||||||
]
|
|
||||||
field.advanced = True
|
field.advanced = True
|
||||||
|
|
||||||
if display_name := display_names_dict.get(field.name):
|
if display_name := display_names_dict.get(field.name):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue