Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,35 +1,37 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
# Premium
|
| 4 |
css = """
|
| 5 |
-
.
|
| 6 |
-
.
|
| 7 |
-
.card { border: 2px solid #6c5ce7; border-radius: 15px; padding: 20px; background: #1a1a1a; text-align: center; transition: 0.3s; }
|
| 8 |
-
.card:hover { transform: translateY(-5px); border-color: #a29bfe; }
|
| 9 |
"""
|
| 10 |
|
| 11 |
-
# Tere Tools ki List (Yahan tu 500 tools ke naam likh sakta hai)
|
| 12 |
-
tools = ["Text to Video", "Image to Video", "Face Swap AI", "BG Remover", "4K Upscaler", "Logo Maker", "Story AI", "Copyright Shield"]
|
| 13 |
-
|
| 14 |
with gr.Blocks(css=css) as demo:
|
| 15 |
gr.Markdown("# 💎 JAYEEP PREMIUM AI HUB")
|
| 16 |
|
| 17 |
with gr.Tabs():
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
with gr.Row(
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
-
# Connection to Colab (Ye line tere saare boxes ko ek saath run karegi)
|
| 35 |
demo.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
# Premium Design CSS
|
| 4 |
css = """
|
| 5 |
+
.tool-card { border: 2px solid #6c5ce7 !important; border-radius: 15px !important; padding: 15px !important; background: #111 !important; text-align: center !important; }
|
| 6 |
+
.gradio-container { background-color: #000 !important; }
|
|
|
|
|
|
|
| 7 |
"""
|
| 8 |
|
|
|
|
|
|
|
|
|
|
| 9 |
with gr.Blocks(css=css) as demo:
|
| 10 |
gr.Markdown("# 💎 JAYEEP PREMIUM AI HUB")
|
| 11 |
|
| 12 |
with gr.Tabs():
|
| 13 |
+
# Category 1: Video Tools
|
| 14 |
+
with gr.TabItem("🎥 Video Tools"):
|
| 15 |
+
with gr.Row():
|
| 16 |
+
with gr.Column(elem_classes="tool-card"):
|
| 17 |
+
gr.Markdown("### Text to Video")
|
| 18 |
+
v_in = gr.Textbox(label="Prompt")
|
| 19 |
+
v_out = gr.Video()
|
| 20 |
+
gr.Button("Generate Video", variant="primary")
|
| 21 |
+
|
| 22 |
+
with gr.Column(elem_classes="tool-card"):
|
| 23 |
+
gr.Markdown("### AI Face Swap")
|
| 24 |
+
f_in = gr.Image(type="filepath")
|
| 25 |
+
f_out = gr.Image()
|
| 26 |
+
gr.Button("Start Swap", variant="primary")
|
| 27 |
+
|
| 28 |
+
# Category 2: Image Tools
|
| 29 |
+
with gr.TabItem("🖼️ Image Tools"):
|
| 30 |
+
with gr.Row():
|
| 31 |
+
with gr.Column(elem_classes="tool-card"):
|
| 32 |
+
gr.Markdown("### Background Remover")
|
| 33 |
+
i_in = gr.Image(type="filepath")
|
| 34 |
+
i_out = gr.Image()
|
| 35 |
+
gr.Button("Remove BG", variant="primary")
|
| 36 |
|
|
|
|
| 37 |
demo.launch()
|