FranckAbgrall HF staff commited on
Commit
3b975ed
·
verified ·
1 Parent(s): fe453cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -1,7 +1,10 @@
1
  import gradio as gr
2
 
3
- with gr.Blocks() as demo:
4
- button = gr.LoginButton()
5
- gr.load("models/deepseek-ai/DeepSeek-R1", provider="together", accept_token=button)
 
 
 
6
 
7
  demo.launch()
 
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 `MODEL_NAME` model, served by the PROVIDER_NAME API. Sign in with your Hugging Face account to use this API.")
7
+ button = gr.LoginButton("Sign in")
8
+ gr.load("models/meta-llama/Llama-3.2-3B-Instruct", accept_token=button, provider="sambanova")
9
 
10
  demo.launch()