sambanova_gradio.registry
, which facilitates seamless connections to various models. The registry function accepts a model ID
as the name
parameter. Executing the script automatically generates an application interface using the specified model.;
For implementation details and additional configurations, see the Github repository.
Install the sambanova-gradio package by running the command below to install the required package.
Set Your SambaNova API Key by saving your API key as an environment variable, as shown below.
sambanova_gradio.registry
function to build and launch your Gradio application, as shown below.
gr.Interface
, as shown below.