File size: 1,528 Bytes
075541e
28be9c2
0571c28
226a27b
 
 
0cff8ea
351c31b
0cff8ea
 
2e4c63d
0cff8ea
c4354a4
ad36dca
0cff8ea
 
efdfdd6
0cff8ea
 
efdfdd6
0cff8ea
 
892d622
2dde1ec
0cff8ea
226a27b
 
57b09fb
0cff8ea
4a9c4da
fa93438
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
import gradio as gr

# Define the components 
with gr.Blocks() as chatbase:
    gr.HTML("<iframe src='https://prithivmlmods-mistral-maturity-llm.hf.space/' width='100%' height='600px' style='border-radius: 8px;'></iframe>")

with gr.Blocks() as chatbot:
    gr.HTML("<iframe src='https://prithivmlmods-mistral-7b-instruct-v0-3.hf.space/' width='100%' height='600px' style='border-radius: 8px;'></iframe>")

with gr.Blocks() as imagegpt:
    gr.HTML("<iframe src='https://prithivmlmods-imagegpt-4xl.hf.space/' width='100%' height='700px' style='border-radius: 8px;'></iframe>")

with gr.Blocks() as smartsearch:
    gr.HTML("<iframe src='https://prithivmlmods-smart-search.hf.space/' width='100%' height='750px' style='border-radius: 8px;'></iframe>")

with gr.Blocks() as mediadownloader:
    gr.HTML("<iframe src='https://prithivmlmods-all-in-one-downloader.hf.space/' width='100%' height='750px' style='border-radius: 8px;'></iframe>")

with gr.Blocks() as photofakes:
    gr.HTML("<iframe src='https://prithivmlmods-face-swap-roop.hf.space/' width='100%' height='750px' style='border-radius: 8px;'></iframe>")

# Assemble the components into a single Gradio interface
with gr.Blocks(theme="xiaobaiyuan/theme_brief", title="GPT 4o") as demo:
    gr.Markdown("# Omni~GPT")
    gr.TabbedInterface(
        [chatbase, chatbot, imagegpt, smartsearch, mediadownloader, photofakes], 
        ['Chat·Base', 'Chat·Fast', 'Image·GPT', 'Smart·Search', 'Media·Downloader', 'Deep·Fakes']
    )

demo.queue().launch(show_api=False)