import gradio as gr # Gradio Blocks with dark theme and custom styles with gr.Blocks( theme=gr.themes.Monochrome(), css=( ":root{--bg:#0b0f19;--fg:#f3f4f6;--muted:#94a3b8;} " ".light{--bg:#ffffff;--fg:#111827;--muted:#4b5563;} " ".gradio-container {background-color: var(--bg); color: var(--fg); font-family: Arial;} " ".brand-title{font-size:28px;color:var(--fg);margin:10px 0 6px 0;} " "#logoimg img{display:block;margin:0 auto;max-height:180px;object-fit:contain;border-radius:12px;} " "#themeToggle{position:fixed;top:10px;right:12px;z-index:1000;" "background:#111827;color:#f9fafb;border:1px solid rgba(255,255,255,0.15);" "padding:6px 10px;border-radius:8px;cursor:pointer;} " ".light #themeToggle{background:#e5e7eb;color:#111827;border-color:rgba(0,0,0,0.15);} " ), ) as demo: # Logo (make sure logo.png exists in your Space files) gr.Image( value="logo.png", show_label=False, interactive=False, elem_id="logoimg", height=180 ) gr.HTML( """
AI Guruji
YouTube Buy me a coffee Telegram

🚧 This Space Is Currently Not Working

This FaceFusion Space is temporarily unavailable. Please visit our updated and fully working FaceFusion Space using the link below.

👉 Go to Updated FaceFusion Space
""" ) demo.launch()