From 2ab082f2f590ec6f70cc3b113e0df057ae5bff9c Mon Sep 17 00:00:00 2001 From: AK391 Date: Thu, 26 Dec 2024 17:25:34 +0100 Subject: [PATCH] add gradio app --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index e605c8c..93e1d0d 100644 --- a/README.md +++ b/README.md @@ -222,6 +222,24 @@ You can chat with DeepSeek-V3 on DeepSeek's official website: [chat.deepseek.com We also provide OpenAI-Compatible API at DeepSeek Platform: [platform.deepseek.com](https://platform.deepseek.com/) +Deploy a chat interface with the API and Gradio in a few lines of code + +```bash +pip install 'ai-gradio[deepseek]' + +export DEEPSEEK_API_KEY= +``` + +```python +import gradio as gr +import ai_gradio + +interface = gr.load( + name='deepseek:deepseek-chat', + src=ai_gradio.registry, +).launch() +``` + ## 6. How to Run Locally DeepSeek-V3 can be deployed locally using the following hardware and open-source community software: