Nymbo commited on
Commit
3a80ada
·
verified ·
1 Parent(s): 992877a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +36 -1
app.py CHANGED
@@ -1,3 +1,38 @@
1
  import os
2
 
3
- exec(os.environ.get('MasterGpt'))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import os
2
 
3
+ exec(os.environ.get('MasterGpt'))
4
+
5
+
6
+ # Assemble the components into a single Gradio interface
7
+ import gradio as gr
8
+ with gr.Blocks(theme="Nymbo/Alyx_Theme", title="App Router") as demo:
9
+ gr.Markdown("# App Router")
10
+ gr.TabbedInterface(
11
+ [chatbot1, chatbot, imagegpt, ss, me, mediadownloader, abt],
12
+ ['Chat.-1', 'Chat.Zero', 'Image.GPT', 'Smart.Search', 'Web.2.Zip', 'Media.Downloader', 'About']
13
+
14
+
15
+ # Define the components using the specified URLs
16
+ with gr.Blocks() as chatbot1:
17
+ gr.HTML("<iframe src=' https://prithivmlmods-mistral-maturity-llm.hf.space' width='100%' height='600px' style='border-radius: 8px;'></iframe>")
18
+
19
+ with gr.Blocks() as chatbot:
20
+ gr.HTML("<iframe src='https://prithivmlmods-mistral-7b-instruct-v0-3.hf.space' width='100%' height='600px' style='border-radius: 8px;'></iframe>")
21
+
22
+ with gr.Blocks() as imagegpt:
23
+ gr.HTML("<iframe src='https://prithivmlmods-imagegpt-4xl.hf.space' width='100%' height='750px' style='border-radius: 8px;'></iframe>")
24
+
25
+ with gr.Blocks() as ss:
26
+ gr.HTML("<iframe src='https://prithivmlmods-smart-search.hf.space' width='100%' height='850px' style='border-radius: 8px;'></iframe>")
27
+
28
+ with gr.Blocks() as me:
29
+ gr.HTML("<iframe src='https://prithivmlmods-save-web-as-zip.hf.space' width='100%' height='800px' style='border-radius: 8px;'></iframe>")
30
+
31
+ with gr.Blocks() as mediadownloader:
32
+ gr.HTML("<iframe src='https://prithivmlmods-all-in-one-downloader.hf.space' width='100%' height='900px' style='border-radius: 8px;'></iframe>")
33
+
34
+ with gr.Blocks() as abt:
35
+ 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>")
36
+
37
+
38
+ demo.queue().launch(debug=True)