File size: 427 Bytes
0a632f8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import anthropic_gradio

from utils import get_app

demo = get_app(
    models=[
        "claude-3-5-sonnet-20241022",
        "claude-3-5-haiku-20241022",
        "claude-3-opus-20240229",
        "claude-3-sonnet-20240229",
        "claude-3-haiku-20240307",
    ],
    default_model="claude-3-5-sonnet-20241022",
    registry=anthropic_gradio.registry,
    accept_token=True,
)

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