File size: 422 Bytes
082f7c1
 
 
 
 
48e1009
082f7c1
 
48e1009
 
 
 
 
 
082f7c1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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-Coder-V2-Lite-Instruct model.")
        button = gr.LoginButton("Sign in")
    
    # Remove 'provider="nebius"'
    gr.load(
        "models/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct", 
        accept_token=button
    )

demo.launch()