File size: 461 Bytes
082f7c1
 
 
 
 
ff4aed5
082f7c1
 
ff4aed5
48e1009
ff4aed5
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 Qwen2.5-Coder-32B-Instruct model.")
        button = gr.LoginButton("Sign in")
    
    # Qwen 2.5 Coder is currently the most robust open coding model supported on the API
    gr.load(
        "models/Qwen/Qwen2.5-Coder-32B-Instruct", 
        accept_token=button
    )

demo.launch()