update
Browse files5 unmodified lines6789101115 unmodified lines2728293031325 unmodified linesdefault_model: str,dropdown_label: str = "Select Hyperbolic Model",choices: list[str] | None = None,**kwargs, # noqa: ANN003) -> gr.Blocks:display_choices = choices if choices is not None else models15 unmodified linesfor model_name in models:with gr.Column(visible=model_name == default_model) as column:load_kwargs = {k: v for k, v in kwargs.items() if k not in ["src", "choices"]}from ai_gradio.providers import registrygr.load(name=model_name, src=registry, **load_kwargs)5 unmodified lines67891011121315 unmodified lines293031323334353637385 unmodified linesdefault_model: str,dropdown_label: str = "Select Hyperbolic Model",choices: list[str] | None = None,provider: str | None = None,bill_to: str | None = None,**kwargs, # noqa: ANN003) -> gr.Blocks:display_choices = choices if choices is not None else models15 unmodified linesfor model_name in models:with gr.Column(visible=model_name == default_model) as column:load_kwargs = {k: v for k, v in kwargs.items() if k not in ["src", "choices"]}if provider is not None:load_kwargs["provider"] = providerif bill_to is not None:load_kwargs["bill_to"] = bill_tofrom ai_gradio.providers import registrygr.load(name=model_name, src=registry, **load_kwargs)
utils_ai_gradio.py+6