Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,15 +1,8 @@
|
|
| 1 |
import os
|
| 2 |
-
|
| 3 |
-
# Assemble the components into a single Gradio interface
|
| 4 |
import gradio as gr
|
| 5 |
-
with gr.Blocks(theme="Nymbo/Alyx_Theme", title="App Router") as demo:
|
| 6 |
-
gr.Markdown("# App Router")
|
| 7 |
-
gr.TabbedInterface(
|
| 8 |
-
[chatbot1, chatbot, imagegpt, ss, me, mediadownloader, abt],
|
| 9 |
-
['Chat.-1', 'Chat.Zero', 'Image.GPT', 'Smart.Search', 'Web.2.Zip', 'Media.Downloader', 'About']
|
| 10 |
-
|
| 11 |
|
| 12 |
# Define the components using the specified URLs
|
|
|
|
| 13 |
with gr.Blocks() as chatbot1:
|
| 14 |
gr.HTML("<iframe src=' https://prithivmlmods-mistral-maturity-llm.hf.space' width='100%' height='600px' style='border-radius: 8px;'></iframe>")
|
| 15 |
|
|
@@ -32,4 +25,14 @@ with gr.Blocks() as abt:
|
|
| 32 |
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>")
|
| 33 |
|
| 34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
demo.queue().launch(debug=True)
|
|
|
|
| 1 |
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 |
|
|
|
|
| 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="bethecloud/storj_theme", title="Master Gpt") as demo:
|
| 32 |
+
gr.Markdown("# Master Gpt")
|
| 33 |
+
gr.TabbedInterface(
|
| 34 |
+
[chatbot1, chatbot, imagegpt, ss, me, mediadownloader, abt],
|
| 35 |
+
['Chat.-1', 'Chat.Zero', 'Image.GPT', 'Smart.Search', 'Web.2.Zip', 'Media.Downloader', 'About']
|
| 36 |
+
)
|
| 37 |
+
|
| 38 |
demo.queue().launch(debug=True)
|