App-Router / app.py
Nymbo's picture
Update app.py
1bc4c88 verified
Raw History Blame Contribute Delete
1.27 kB
import os
import gradio as gr
# Define the components using the specified URLs
with gr.Blocks() as Nymbot:
gr.HTML("<iframe src='https://nymbo-nymbot.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='750px' style='border-radius: 8px;'></iframe>")
with gr.Blocks() as ss:
gr.HTML("<iframe src='https://prithivmlmods-smart-search.hf.space' width='100%' height='850px' style='border-radius: 8px;'></iframe>")
with gr.Blocks() as me:
gr.HTML("<iframe src='https://prithivmlmods-save-web-as-zip.hf.space' width='100%' height='800px' 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='900px' style='border-radius: 8px;'></iframe>")
# Set theme and title
with gr.Blocks(theme="Nymbo/Alyx_Theme", title="App Router") as demo:
gr.HTML("<center><h1>App Router</h1></center>")
gr.TabbedInterface(
[Nymbot, imagegpt, ss, me, mediadownloader],
['Nymbot', 'Image.GPT', 'Smart.Search', 'Web.2.Zip', 'Media.Downloader']
)
demo.queue().launch(debug=True)