How to Install ai-gradio
How to use Novita AI’s LLMs in ai-gradio
Step 1: Set up environment variables.
- Set NOVITA_API_KEY to your Novita API key.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Explore ai-gradio and Novita AI to build interactive AI demos effortlessly with powerful large language models.
# Install core package
pip install ai-gradio
# Install with specific provider support
pip install 'ai-gradio[openai]' # OpenAI support
pip install 'ai-gradio[gemini]' # Google Gemini support
pip install 'ai-gradio[anthropic]' # Anthropic Claude support
pip install 'ai-gradio[groq]' # Groq support
# Install all providers
pip install 'ai-gradio[all]'
export NOVITA_API_KEY=<your api key>
import gradio as gr
import ai_gradio
gr.load(
name='novita:deepseek/deepseek-r1',
src=ai_gradio.registry,
).launch()