This commit is contained in:
Dillon DuPont
2025-05-10 20:47:52 -04:00
parent 2cf68fdac5
commit 4e8d64ff1c

View File

@@ -818,6 +818,7 @@ 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)
]