File size: 474 Bytes
a516dbd
 
 
124b494
3c20934
 
 
 
 
c42aa20
3c20934
9babf9d
3c20934
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr
import sambanova_gradio

with gr.Blocks(fill_height=True,theme=gr.themes.Ocean()) as demo:
    gr.load(
        name='Meta-Llama-3.1-405B-Instruct',
        src=sambanova_gradio.registry,
        title='Sambanova-Gradio Integration',
        description="Chat with Meta-Llama-3.1-405B-Instruct model.",
        examples=["Explain quantum gravity to a 5-year old.", "How many R are there in the word Strawberry? Think step by step."]
    )

demo.launch()