Spaces:
Paused
Paused
File size: 1,265 Bytes
6c0eb3d 3a80ada b7aec5a 8c81190 3a80ada 8bde6f2 42b951c efe9a2a 1bc4c88 8bde6f2 14ce468 8bde6f2 3a80ada | 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 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)
|