Spaces:
Paused
Paused
File size: 1,658 Bytes
55751d5 839d533 | 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 | import gradio as gr
# Define the components using the specified URLs
with gr.Blocks() as chatbot:
gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/Mistral-7B-Instruct-v0.3' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
with gr.Blocks() as imagegpt:
gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/ImageGPT-4XL' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
with gr.Blocks() as imageengine4k:
gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/DALLE-4K' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
with gr.Blocks() as imageengine2k:
gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/DALLE-2K' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
with gr.Blocks() as mediadownloader:
gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/All-In-One-Downloader' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
with gr.Blocks() as photofakes:
gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/Face-Swap-Roop' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
# Assemble the components into a single Gradio interface
with gr.Blocks(theme=gr.themes.Soft(), title="ChatGPT-Omni") as demo:
gr.Markdown("# ChatGPT-Omni")
gr.TabbedInterface(
[chatbot, imagegpt, imageengine4k, imageengine2k, mediadownloader, photofakes],
['ChatBot', 'ImageGPT', 'Image Engine 4K', 'Image Engine 2K', 'Media Downloader', 'PhotoFakes']
)
# Launch the demo with GPU enabled
demo.queue().launch(debug=True) |