Spaces:
Paused
Paused
Download app.py from Nymbo/App-Router: direct link, hf CLI and curl.
- Browser
- Download file 1.76 kB
-
https://huggingface.co/spaces/Nymbo/App-Router/resolve/483bf397afe4db2827b5dd2fbb65ef8a9d69376b/app.py
- Command line
-
hf download hf://spaces/Nymbo/App-Router@483bf397afe4db2827b5dd2fbb65ef8a9d69376b/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Nymbo/App-Router/resolve/483bf397afe4db2827b5dd2fbb65ef8a9d69376b/app.py
1.76 kB
| 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>") | |
| with gr.Blocks() as about: | |
| gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/Omni-GPT/resolve/main/assets/images/2.png' width='100%' height='750px' style='border-radius: 8px;'></iframe>") | |
| # Assemble the components into a single Gradio interface | |
| with gr.Blocks(theme="bethecloud/storj_theme", title="Gemini 4o") as demo: | |
| gr.Markdown("# Gemini 4o") | |
| gr.TabbedInterface( | |
| [chatbase, chatbot, imagegpt, smartsearch, mediadownloader, photofakes, about], | |
| ['Chat·Base', 'Chat·Fast', 'Image·GPT', 'Smart·Search', 'Media·Downloader', 'Photo·Fakes', 'About'] | |
| ) | |
| demo.queue().launch(show_api=False) | |