Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
with gr.Blocks() as demo:
|
4 |
-
|
5 |
-
|
|
|
|
|
|
|
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()
|