Spaces:
Sleeping
Sleeping
| import gradio as gr | |
| # Premium Design CSS | |
| css = """ | |
| .tool-card { border: 2px solid #6c5ce7 !important; border-radius: 15px !important; padding: 15px !important; background: #111 !important; text-align: center !important; } | |
| .gradio-container { background-color: #000 !important; } | |
| """ | |
| with gr.Blocks(css=css) as demo: | |
| gr.Markdown("# 💎 JAYEEP PREMIUM AI HUB") | |
| with gr.Tabs(): | |
| # Category 1: Video Tools | |
| with gr.TabItem("🎥 Video Tools"): | |
| with gr.Row(): | |
| with gr.Column(elem_classes="tool-card"): | |
| gr.Markdown("### Text to Video") | |
| v_in = gr.Textbox(label="Prompt") | |
| v_out = gr.Video() | |
| gr.Button("Generate Video", variant="primary") | |
| with gr.Column(elem_classes="tool-card"): | |
| gr.Markdown("### AI Face Swap") | |
| f_in = gr.Image(type="filepath") | |
| f_out = gr.Image() | |
| gr.Button("Start Swap", variant="primary") | |
| # Category 2: Image Tools | |
| with gr.TabItem("🖼️ Image Tools"): | |
| with gr.Row(): | |
| with gr.Column(elem_classes="tool-card"): | |
| gr.Markdown("### Background Remover") | |
| i_in = gr.Image(type="filepath") | |
| i_out = gr.Image() | |
| gr.Button("Remove BG", variant="primary") | |
| demo.launch() |