floatingping commited on
Commit
08b2f6a
·
1 Parent(s): 9794ab4
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,10 +1,12 @@
1
  import gradio as gr
2
 
 
3
  with gr.Blocks(fill_height=True) as demo:
4
  with gr.Sidebar():
5
  gr.Markdown("# Inference Provider")
6
- gr.Markdown("This Space showcases the huihui-ai/DeepSeek-R1-Distill-Qwen-32B-abliterated model, served by the featherless-ai API. Sign in with your Hugging Face account to use this API.")
7
  button = gr.LoginButton("Sign in")
8
- gr.load("models/huihui-ai/DeepSeek-R1-Distill-Qwen-32B-abliterated", accept_token=button, provider="featherless-ai")
9
 
10
- demo.launch()
 
 
1
  import gradio as gr
2
 
3
+ model = "huihui-ai/DeepSeek-R1-Distill-Qwen-32B-abliterated"
4
  with gr.Blocks(fill_height=True) as demo:
5
  with gr.Sidebar():
6
  gr.Markdown("# Inference Provider")
7
+ gr.Markdown(f"This Space showcases the {model} model, served by the featherless-ai API. Sign in with your Hugging Face account to use this API.")
8
  button = gr.LoginButton("Sign in")
9
+ gr.load(f"models/{model}", accept_token=button, provider="featherless-ai")
10
 
11
+ demo.launch()
12
+