mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 09:16:19 +00:00
🚨 Remove unnecessary parameter max_choices=1 when multiselect=False
This commit is contained in:
@@ -72,7 +72,6 @@ class AnthropicLLMEngine(BaseLLMEngine):
|
||||
gr.Dropdown(
|
||||
label="Model",
|
||||
choices=ANTHROPIC_POSSIBLE_MODELS,
|
||||
max_choices=1,
|
||||
value=ANTHROPIC_POSSIBLE_MODELS[0],
|
||||
)
|
||||
]
|
||||
|
||||
@@ -67,7 +67,6 @@ class OpenaiLLMEngine(BaseLLMEngine):
|
||||
gr.Dropdown(
|
||||
label="Model",
|
||||
choices=OPENAI_POSSIBLE_MODELS,
|
||||
max_choices=1,
|
||||
value=OPENAI_POSSIBLE_MODELS[0],
|
||||
)
|
||||
]
|
||||
|
||||
@@ -134,13 +134,11 @@ class CoquiTTSEngine(BaseTTSEngine):
|
||||
gr.Dropdown(
|
||||
label="Voice",
|
||||
choices=cls.voices,
|
||||
max_choices=1,
|
||||
value="Damien Black",
|
||||
),
|
||||
gr.Dropdown(
|
||||
label="Language",
|
||||
choices=cls.languages,
|
||||
max_choices=1,
|
||||
value=cls.languages[0],
|
||||
),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user