w1r4 commited on
Commit
48e1009
·
verified ·
1 Parent(s): 082f7c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -3,8 +3,13 @@ import gradio as gr
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 deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct model, served by the nebius API. Sign in with your Hugging Face account to use this API.")
7
  button = gr.LoginButton("Sign in")
8
- gr.load("models/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct", accept_token=button, provider="nebius")
9
 
 
 
 
 
 
 
10
  demo.launch()
 
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 DeepSeek-Coder-V2-Lite-Instruct model.")
7
  button = gr.LoginButton("Sign in")
 
8
 
9
+ # Remove 'provider="nebius"'
10
+ gr.load(
11
+ "models/deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct",
12
+ accept_token=button
13
+ )
14
+
15
  demo.launch()