prithivMLmods's picture
Update app.py
eb3fec4 verified
raw
history blame
1.33 kB
import gradio as gr
# Define the components
with gr.Blocks() as chatbot:
gr.HTML("<iframe src='https://prithivmlmods-mistral-7b-instruct-v0-3.hf.space/' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
with gr.Blocks() as imagegpt:
gr.HTML("<iframe src='https://prithivmlmods-imagegpt-4xl.hf.space/' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
with gr.Blocks() as imageengine2k:
gr.HTML("<iframe src='https://prithivmlmods-sdxl-blaze.hf.space/' width='100%' height='1000px' 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='1000px' style='border-radius: 8px;'></iframe>")
with gr.Blocks() as photofakes:
gr.HTML("<iframe src='https://prithivmlmods-face-swap-roop.hf.space/' width='100%' height='1000px' 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("# GPT~4o")
gr.TabbedInterface(
[chatbot, imagegpt, imageengine2k, mediadownloader, photofakes],
['Chat路Fast', 'Image路GPT', 'SDXL路Blaze', 'Media路Downloader', 'Deep路Fakes']
)
demo.queue().launch(show_api=False)