Download app.py from FranckAbgrall/deepseek-ai-DeepSeek-R1-reason: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/FranckAbgrall/deepseek-ai-DeepSeek-R1-reason/resolve/main/app.py
- Command line
-
hf download hf://spaces/FranckAbgrall/deepseek-ai-DeepSeek-R1-reason/app.py
-
curl -L -o app.py https://huggingface.co/spaces/FranckAbgrall/deepseek-ai-DeepSeek-R1-reason/resolve/main/app.py
444 Bytes
| import gradio as gr | |
| with gr.Blocks(fill_height=True) as demo: | |
| with gr.Sidebar(): | |
| gr.Markdown("# Inference Provider") | |
| gr.Markdown("This Space showcases the deepseek-ai/DeepSeek-R1 model, served by the sambanova API. Sign in with your Hugging Face account to use this API.") | |
| button = gr.LoginButton("Sign in") | |
| gr.load("models/deepseek-ai/DeepSeek-R1", accept_token=button, provider="sambanova") | |
| demo.launch() |