File size: 431 Bytes
b3b66bf
 
c919a10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b3b66bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import gradio as gr
import gemini_gradio
import openai_gradio

with gr.Blocks() as demo:
    with gr.Tab("gemini-1.5-pro-002"):
        gr.load(
            name='gemini-1.5-pro-002',
            src=gemini_gradio.registry,
             accept_token=True
        )
    with gr.Tab("gpt-4-turbo"):
        gr.load(
        name='gpt-4-turbo',
        src=openai_gradio.registry,
        accept_token=True
        )

demo.launch()