gradio app with API

This commit is contained in:
Ahsen Khaliq 2025-01-27 13:19:13 -05:00 committed by GitHub
parent ed4409d2a9
commit 90c5dac02b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -174,6 +174,22 @@ You can chat with DeepSeek-R1 on DeepSeek's official website: [chat.deepseek.com
We also provide OpenAI-Compatible API at DeepSeek Platform: [platform.deepseek.com](https://platform.deepseek.com/) We also provide OpenAI-Compatible API at DeepSeek Platform: [platform.deepseek.com](https://platform.deepseek.com/)
Gradio app with API
```
pip install ai-gradio[deepseek]
import gradio as gr
import ai_gradio
gr.load(
name='deepseek:deepseek-reasoner',
src=ai_gradio.registry,
coder=True # remove for regular chat
).launch()
```
## 6. How to Run Locally ## 6. How to Run Locally
### DeepSeek-R1 Models ### DeepSeek-R1 Models