prithivMLmods commited on
Commit
fdc8b6a
·
verified ·
1 Parent(s): 3ad88d8

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -57
app.py DELETED
@@ -1,57 +0,0 @@
1
- import gradio as gr
2
-
3
- def spaces_Omni():
4
- # Define the components using the specified URLs
5
- with gr.Blocks() as chatbot:
6
- gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/Mistral-7B-Instruct-v0.3' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
7
-
8
- with gr.Blocks() as imagegpt:
9
- gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/ImageGPT-4XL' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
10
-
11
- with gr.Blocks() as imageengine4k:
12
- gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/DALLE-4K' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
13
-
14
- with gr.Blocks() as imageengine2k:
15
- gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/DALLE-2K' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
16
-
17
- with gr.Blocks() as mediadownloader:
18
- gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/All-In-One-Downloader' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
19
-
20
- with gr.Blocks() as photofakes:
21
- gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/Face-Swap-Roop' width='100%' height='1000px' style='border-radius: 8px;'></iframe>")
22
-
23
- # Assemble the components into a single Gradio interface
24
- demo = gr.Interface(
25
- fn=spaces_Omni,
26
- title="ChatGPT-Omni",
27
- theme="soft",
28
- description="A collection of AI models for various tasks.",
29
- inputs=None,
30
- outputs=None,
31
- allow_flagging=False,
32
- live=False,
33
- share=False,
34
- capture_session=False,
35
- server_name=None,
36
- examples=None,
37
- interpretation=None,
38
- preprocessing_fns=None,
39
- postprocessing_fns=None,
40
- server_port=None,
41
- server_port_random=False,
42
- verbose=False,
43
- analytics_enabled=True,
44
- analytics_name=None,
45
- analytics_endpoint=None,
46
- analytics_app_id=None,
47
- analytics_session_id=None,
48
- analytics_use_ua=False,
49
- gpu=True # Enable GPU support
50
- )
51
-
52
- # Launch the demo
53
- demo.launch()
54
-
55
- # Run the main function
56
- if __name__ == "__main__":
57
- spaces_Omni()