mirror of
https://github.com/deepseek-ai/DeepSeek-R1.git
synced 2025-02-22 21:59:00 -05:00
gradio app with API
This commit is contained in:
parent
ed4409d2a9
commit
90c5dac02b
16
README.md
16
README.md
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user