Spaces:
Paused
Paused
Download app.py from Nymbo/App-Router: direct link, hf CLI and curl.
- Browser
- Download file 1.53 kB
-
https://huggingface.co/spaces/Nymbo/App-Router/resolve/4e469bbd99ec2eea9c4f4bcc528ffef557c15113/app.py
- Command line
-
hf download hf://spaces/Nymbo/App-Router@4e469bbd99ec2eea9c4f4bcc528ffef557c15113/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Nymbo/App-Router/resolve/4e469bbd99ec2eea9c4f4bcc528ffef557c15113/app.py
1.53 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>") | |
| # Assemble the components into a single Gradio interface | |
| with gr.Blocks(theme="xiaobaiyuan/theme_brief", title="GPT 4o") as demo: | |
| gr.Markdown("# Omni~GPT") | |
| gr.TabbedInterface( | |
| [chatbase, chatbot, imagegpt, smartsearch, mediadownloader, photofakes], | |
| ['Chat·Base', 'Chat·Fast', 'Image·GPT', 'Smart·Search', 'Media·Downloader', 'Deep·Fakes'] | |
| ) | |
| demo.queue().launch(show_api=False) | |