So installieren Sie ai-gradio
So verwenden Sie die LLMs von Novita AI in ai-gradio
Schritt 1: Umgebungsvariablen einrichten.
- Setzen Sie NOVITA_API_KEY auf Ihren Novita API-Schlüssel.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Entdecken Sie ai-gradio und Novita AI, um mühelos interaktive KI-Demos mit leistungsstarken großen Sprachmodellen zu erstellen.
# 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()