This commit is contained in:
Dillon DuPont
2025-05-10 20:46:05 -04:00
parent 8f37d0550c
commit 2cf68fdac5

View File

@@ -818,7 +818,6 @@ if __name__ == "__main__":
# Custom model fields visibility
gr.update(visible=is_any_custom), # Custom model name always visible for any custom option
gr.update(visible=is_custom_openai_api), # Provider base URL only for OpenAI compatible API
gr.update(visible=is_custom_openai_api), # Provider API key only for OpenAI compatible API
# Update the hidden model_choice field
gr.update(value=model_choice_value)
]