Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,38 +1,3 @@
|
|
| 1 |
-
import
|
| 2 |
-
|
| 3 |
-
# Define the components
|
| 4 |
-
with gr.Blocks() as chatbase:
|
| 5 |
-
gr.HTML("<iframe src='https://prithivmlmods-mistral-maturity-llm.hf.space/' width='100%' height='600px' style='border-radius: 8px;'></iframe>")
|
| 6 |
-
|
| 7 |
-
with gr.Blocks() as chatbot:
|
| 8 |
-
gr.HTML("<iframe src='https://prithivmlmods-mistral-7b-instruct-v0-3.hf.space/' width='100%' height='600px' style='border-radius: 8px;'></iframe>")
|
| 9 |
-
|
| 10 |
-
with gr.Blocks() as imagegpt:
|
| 11 |
-
gr.HTML("<iframe src='https://prithivmlmods-imagegpt-4xl.hf.space/' width='100%' height='700px' style='border-radius: 8px;'></iframe>")
|
| 12 |
-
|
| 13 |
-
with gr.Blocks() as smartsearch:
|
| 14 |
-
gr.HTML("<iframe src='https://prithivmlmods-smart-search.hf.space/' width='100%' height='750px' style='border-radius: 8px;'></iframe>")
|
| 15 |
-
|
| 16 |
-
with gr.Blocks() as mediadownloader:
|
| 17 |
-
gr.HTML("<iframe src='https://prithivmlmods-all-in-one-downloader.hf.space/' width='100%' height='750px' style='border-radius: 8px;'></iframe>")
|
| 18 |
-
|
| 19 |
-
with gr.Blocks() as photofakes:
|
| 20 |
-
gr.HTML("<iframe src='https://prithivmlmods-face-swap-roop.hf.space/' width='100%' height='750px' style='border-radius: 8px;'></iframe>")
|
| 21 |
-
|
| 22 |
-
with gr.Blocks() as about:
|
| 23 |
-
gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/Omni-GPT/resolve/main/assets/images/2.png' width='100%' height='750px' style='border-radius: 8px;'></iframe>")
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
# Assemble the components into a single Gradio interface
|
| 30 |
-
with gr.Blocks(theme="bethecloud/storj_theme", title="Gemini 4o") as demo:
|
| 31 |
-
gr.Markdown("# Gemini 4o")
|
| 32 |
-
gr.TabbedInterface(
|
| 33 |
-
[chatbase, chatbot, imagegpt, smartsearch, mediadownloader, photofakes, about],
|
| 34 |
-
['Chat·Base', 'Chat·Fast', 'Image·GPT', 'Smart·Search', 'Media·Downloader', 'Photo·Fakes', 'About']
|
| 35 |
-
)
|
| 36 |
-
|
| 37 |
-
demo.queue().launch(show_api=False)
|
| 38 |
|
|
|
|
|
|
| 1 |
+
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
exec(os.environ.get('GEMINI4o'))
|