Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,6 @@ import os
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# Define the components using the specified URLs
|
| 5 |
-
|
| 6 |
with gr.Blocks() as chatbot1:
|
| 7 |
gr.HTML("<iframe src=' https://prithivmlmods-mistral-maturity-llm.hf.space' width='100%' height='600px' style='border-radius: 8px;'></iframe>")
|
| 8 |
|
|
@@ -21,18 +20,14 @@ with gr.Blocks() as me:
|
|
| 21 |
with gr.Blocks() as mediadownloader:
|
| 22 |
gr.HTML("<iframe src='https://prithivmlmods-all-in-one-downloader.hf.space' width='100%' height='900px' style='border-radius: 8px;'></iframe>")
|
| 23 |
|
| 24 |
-
with gr.Blocks() as abt:
|
| 25 |
-
gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/master-gpt/resolve/main/assets/images/2.png' width='100%' height='900px' style='border-radius: 8px;'></iframe>")
|
| 26 |
-
|
| 27 |
-
|
| 28 |
|
| 29 |
-
# Assemble the components into a single Gradio interface
|
| 30 |
|
|
|
|
| 31 |
with gr.Blocks(theme="Nymbo/Alyx_Theme", title="App Router") as demo:
|
| 32 |
gr.Markdown("# App Router")
|
| 33 |
gr.TabbedInterface(
|
| 34 |
-
[chatbot1, chatbot, imagegpt, ss, me, mediadownloader
|
| 35 |
-
['Chat.-1', 'Chat.Zero', 'Image.GPT', 'Smart.Search', 'Web.2.Zip', 'Media.Downloader'
|
| 36 |
)
|
| 37 |
|
| 38 |
demo.queue().launch(debug=True)
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
# Define the components using the specified URLs
|
|
|
|
| 5 |
with gr.Blocks() as chatbot1:
|
| 6 |
gr.HTML("<iframe src=' https://prithivmlmods-mistral-maturity-llm.hf.space' width='100%' height='600px' style='border-radius: 8px;'></iframe>")
|
| 7 |
|
|
|
|
| 20 |
with gr.Blocks() as mediadownloader:
|
| 21 |
gr.HTML("<iframe src='https://prithivmlmods-all-in-one-downloader.hf.space' width='100%' height='900px' style='border-radius: 8px;'></iframe>")
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
|
|
|
| 24 |
|
| 25 |
+
# Set theme and title
|
| 26 |
with gr.Blocks(theme="Nymbo/Alyx_Theme", title="App Router") as demo:
|
| 27 |
gr.Markdown("# App Router")
|
| 28 |
gr.TabbedInterface(
|
| 29 |
+
[chatbot1, chatbot, imagegpt, ss, me, mediadownloader],
|
| 30 |
+
['Chat.-1', 'Chat.Zero', 'Image.GPT', 'Smart.Search', 'Web.2.Zip', 'Media.Downloader']
|
| 31 |
)
|
| 32 |
|
| 33 |
demo.queue().launch(debug=True)
|