Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,40 +1,3 @@
|
|
| 1 |
-
import
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
with gr.Blocks() as chatbot1:
|
| 6 |
-
gr.HTML("<iframe src=' https://prithivmlmods-mistral-maturity-llm.hf.space' width='100%' height='650px' style='border-radius: 8px;'></iframe>")
|
| 7 |
-
|
| 8 |
-
with gr.Blocks() as chatbot:
|
| 9 |
-
gr.HTML("<iframe src='https://prithivmlmods-mistral-7b-instruct-v0-3.hf.space' width='100%' height='650px' style='border-radius: 8px;'></iframe>")
|
| 10 |
-
|
| 11 |
-
with gr.Blocks() as imagegpt:
|
| 12 |
-
gr.HTML("<iframe src='https://prithivmlmods-imagegpt-4xl.hf.space' width='100%' height='750px' style='border-radius: 8px;'></iframe>")
|
| 13 |
-
|
| 14 |
-
with gr.Blocks() as ss:
|
| 15 |
-
gr.HTML("<iframe src='https://prithivmlmods-smart-search.hf.space' width='100%' height='850px' style='border-radius: 8px;'></iframe>")
|
| 16 |
-
|
| 17 |
-
with gr.Blocks() as me:
|
| 18 |
-
gr.HTML("<iframe src=' https://prithivmlmods-magic-eraser-tool.hf.space' width='100%' height='800px' style='border-radius: 8px;'></iframe>")
|
| 19 |
-
|
| 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 |
-
with gr.Blocks() as fc:
|
| 24 |
-
gr.HTML("<iframe src=' https://prithivmlmods-1000-general-knowledge-flashcards.hf.space' width='100%' height='850px' style='border-radius: 8px;'></iframe>")
|
| 25 |
-
|
| 26 |
-
with gr.Blocks() as abt:
|
| 27 |
-
gr.HTML("<iframe src='https://huggingface.co/spaces/prithivMLmods/Gemini-4o/resolve/main/assets/images/2.png' width='100%' height='900px' style='border-radius: 8px;'></iframe>")
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
# Assemble the components into a single Gradio interface
|
| 32 |
-
with gr.Blocks(theme="bethecloud/storj_theme", title="Gemini 4o") as demo:
|
| 33 |
-
gr.Markdown("# Gemini 4o")
|
| 34 |
-
gr.TabbedInterface(
|
| 35 |
-
[chatbot1, chatbot, imagegpt, ss, me, mediadownloader, fc, abt],
|
| 36 |
-
['7B-Instruct-v0.1', '7B-Instruct-v0.3', 'Image.GPT', 'Smart.Search', 'Magic.Eraser', 'Media.Downloader', 'IQ.Check', 'About']
|
| 37 |
-
)
|
| 38 |
-
|
| 39 |
-
# Launch the demo with GPU enabled
|
| 40 |
-
demo.queue().launch(debug=True)
|
|
|
|
| 1 |
+
import os
|
| 2 |
|
| 3 |
+
exec(os.environ.get('GEMINI4o'))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|