File size: 568 Bytes
295399e
 
6d80a32
 
 
 
2e4995b
 
 
6d80a32
2e4995b
6d80a32
 
2e4995b
 
6d80a32
974aa3f
244cc0d
6646e67
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 maldv/praxis-bookwriter-qwen2.5-14b-sft model, "
            "served by the featherless-ai API. Sign in with your Hugging Face account "
            "to use this API."
        )
        button = gr.LoginButton("Sign in")

    gr.load(
        "models/maldv/praxis-bookwriter-qwen2.5-14b-sft",
        accept_token=button,
        provider="featherless-ai"
    )
  
demo.launch()