File size: 1,693 Bytes
b3b66bf
684bece
0a632f8
 
 
 
 
 
 
 
 
 
 
 
 
 
c919a10
90a0c6e
793e72e
0a632f8
 
 
793e72e
af4bac7
0a632f8
af4bac7
0a632f8
53c7098
0a632f8
59c62cc
0a632f8
fa93ad7
0a632f8
957783c
0a632f8
3289c64
0a632f8
d878ab1
0a632f8
684bece
0a632f8
2b36c3d
0a632f8
809397a
0a632f8
8173b7d
0a632f8
a0ec21d
0a632f8
b3b66bf
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import gradio as gr

from app_claude import demo as demo_claude
from app_fireworks import demo as demo_fireworks
from app_gemini import demo as demo_gemini
from app_groq import demo as demo_groq
from app_hf import demo as demo_hf
from app_hyperbolic import demo as demo_hyperbolic
from app_mistral import demo as demo_mistral
from app_nvidia import demo as demo_nvidia
from app_openai import demo as demo_openai
from app_perplexity import demo as demo_perplexity
from app_qwen import demo as demo_qwen
from app_sambanova import demo as demo_sambanova
from app_together import demo as demo_together
from app_xai import demo as demo_grok

with gr.Blocks(fill_height=True) as demo:
    with gr.Tab("Meta Llama"):
        demo_sambanova.render()
        gr.Markdown(
            "**Note:** You need to use a SambaNova API key from [SambaNova Cloud](https://cloud.sambanova.ai/)."
        )
    with gr.Tab("Gemini"):
        demo_gemini.render()
    with gr.Tab("ChatGPT"):
        demo_openai.render()
    with gr.Tab("Claude"):
        demo_claude.render()
    with gr.Tab("Grok"):
        demo_grok.render()
    with gr.Tab("Hugging Face"):
        demo_hf.render()
    with gr.Tab("Groq"):
        demo_groq.render()
    with gr.Tab("Hyperbolic"):
        demo_hyperbolic.render()
    with gr.Tab("Qwen"):
        demo_qwen.render()
    with gr.Tab("Perplexity"):
        demo_perplexity.render()
    with gr.Tab("Mistral"):
        demo_mistral.render()
    with gr.Tab("Fireworks"):
        demo_fireworks.render()
    with gr.Tab("Together"):
        demo_together.render()
    with gr.Tab("NVIDIA"):
        demo_nvidia.render()

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