File size: 704 Bytes
e8fb5c0
 
0a632f8
 
 
 
 
 
 
 
 
 
 
 
 
58f1cd9
 
3a3297a
6cbf651
0a632f8
6cbf651
dc944d5
e8fb5c0
0a632f8
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import os

import sambanova_gradio

from utils import get_app

demo = get_app(
    models=[
        "Meta-Llama-3.2-1B-Instruct",
        "Meta-Llama-3.2-3B-Instruct",
        "Llama-3.2-11B-Vision-Instruct",
        "Llama-3.2-90B-Vision-Instruct",
        "Meta-Llama-3.1-8B-Instruct",
        "Meta-Llama-3.1-70B-Instruct",
        "Meta-Llama-3.1-405B-Instruct",
        "Qwen2.5-72B-Instruct",
        "Qwen2.5-Coder-32B-Instruct",
        "Meta-Llama-3.3-70B-Instruct",
        "QwQ-32B-Preview",
    ],
    default_model="QwQ-32B-Preview",
    src=sambanova_gradio.registry,
    accept_token=not os.getenv("SAMBANOVA_API_KEY"),
    multimodal=True,
)

if __name__ == "__main__":
    demo.launch()