File size: 951 Bytes
b3b66bf
 
c919a10
53c7098
6aaa79e
59c62cc
53c7098
c919a10
 
af4bac7
c919a10
 
 
 
 
af4bac7
c919a10
 
 
 
 
53c7098
 
 
 
 
 
ea2170e
9452a52
 
 
 
 
59c62cc
 
 
 
 
 
9452a52
c919a10
 
 
b3b66bf
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import gradio as gr
import gemini_gradio
import openai_gradio
import anthropic_gradio
import sambanova_gradio
import xai_gradio


with gr.Blocks() as demo:
    with gr.Tab("Gemini"):
        gr.load(
            name='gemini-1.5-pro-002',
            src=gemini_gradio.registry,
             accept_token=True
        )
    with gr.Tab("ChatGPT"):
        gr.load(
        name='gpt-4-turbo',
        src=openai_gradio.registry,
        accept_token=True
        )
    with gr.Tab("Claude"):
        gr.load(
        name='claude-3-opus-20240229',
        src=anthropic_gradio.registry,
        accept_token=True
        )
    with gr.Tab("Meta Llama 405B"):
        gr.load(
        name='Meta-Llama-3.1-405B-Instruct',
        src=sambanova_gradio.registry,
        accept_token=True
        )
    with gr.Tab("Grok"):
        gr.load(
        name='grok-beta',
        src=xai_gradio.registry,
        accept_token=True
        )


demo.launch()