Spaces:
Running
Running
| custom_css = """ | |
| :root { | |
| --neon-pink: #ff6bff; | |
| --cyber-blue: #00f7ff; | |
| --acid-green: #7fff00; | |
| --gradient-angle: 135deg; | |
| } | |
| .gradio-container { | |
| background: linear-gradient(var(--gradient-angle), | |
| #0f0f0f 0%, | |
| #1a1a1a 50%, | |
| #0f0f0f 100%) !important; | |
| font-family: 'Comic Neue', cursive !important; | |
| } | |
| .dark .gradio-container { | |
| background: linear-gradient(var(--gradient-angle), | |
| #000000 0%, | |
| #1a1a1a 100%) !important; | |
| } | |
| .chat-message { | |
| padding: 15px 25px !important; | |
| border-radius: 30px !important; | |
| margin: 15px 0 !important; | |
| border: none !important; | |
| position: relative; | |
| transition: all 0.3s ease !important; | |
| max-width: 80% !important; | |
| font-size: 1.1em !important; | |
| } | |
| .user-message { | |
| background: linear-gradient(45deg, #ff0080, #ff6bff) !important; | |
| color: white !important; | |
| margin-left: auto !important; | |
| box-shadow: 0 4px 15px rgba(255,107,255,0.3) !important; | |
| } | |
| .bot-message { | |
| background: linear-gradient(45deg, #00b4d8, #00f7ff) !important; | |
| color: black !important; | |
| margin-right: auto !important; | |
| box-shadow: 0 4px 15px rgba(0,247,255,0.3) !important; | |
| } | |
| .chat-message::after { | |
| content: ''; | |
| position: absolute; | |
| top: -2px; | |
| left: -2px; | |
| right: -2px; | |
| bottom: -2px; | |
| border-radius: 30px; | |
| z-index: -1; | |
| background: linear-gradient(45deg, | |
| var(--neon-pink), | |
| var(--cyber-blue), | |
| var(--acid-green)); | |
| animation: gradient-animation 3s ease infinite; | |
| } | |
| @keyframes gradient-animation { | |
| 0% { opacity: 0.3; } | |
| 50% { opacity: 0.7; } | |
| 100% { opacity: 0.3; } | |
| } | |
| .header-image { | |
| width: 150px !important; | |
| height: 150px !important; | |
| object-fit: cover; | |
| border-radius: 50% !important; | |
| border: 3px solid var(--neon-pink) !important; | |
| box-shadow: 0 0 20px var(--neon-pink) !important; | |
| animation: float 4s ease-in-out infinite; | |
| } | |
| @keyframes float { | |
| 0% { transform: translateY(0px); } | |
| 50% { transform: translateY(-20px); } | |
| 100% { transform: translateY(0px); } | |
| } | |
| button { | |
| background: linear-gradient(45deg, #7fff00, #00f7ff) !important; | |
| border: none !important; | |
| border-radius: 15px !important; | |
| color: black !important; | |
| font-weight: bold !important; | |
| text-transform: uppercase !important; | |
| transition: all 0.3s ease !important; | |
| } | |
| button:hover { | |
| transform: scale(1.05) !important; | |
| box-shadow: 0 0 15px var(--acid-green) !important; | |
| } | |
| .gr-examples { | |
| border: 2px solid var(--neon-pink) !important; | |
| border-radius: 20px !important; | |
| background: rgba(0,0,0,0.3) !important; | |
| } | |
| footer { | |
| text-align: center !important; | |
| color: #fff !important; | |
| text-shadow: 0 0 10px var(--cyber-blue) !important; | |
| } | |
| """ | |
| header = """ | |
| <div style="text-align: center; padding: 20px;"> | |
| <h1 style=" | |
| font-family: 'Bebas Neue', cursive; | |
| font-size: 3.5em; | |
| color: #7fff00; | |
| text-shadow: 0 0 15px #7fff00; | |
| margin: 0; | |
| "> | |
| VISION.TALK ๐ฎ | |
| </h1> | |
| <img class="header-image" | |
| src="https://cdn-icons-png.flaticon.com/512/7858/7858975.png" | |
| alt="Cyber AI"> | |
| <p style="color: #00f7ff; margin: 10px 0; font-size: 1.2em;"> | |
| Upload. Chat. Vibing. Repeat. ๐ | |
| </p> | |
| </div> | |
| """ | |
| footer = """ | |
| <div class="glitch-wrapper" style="text-align: center; margin-top: 30px;"> | |
| <p class="glitch" data-text="โ ๏ธ WARNING: AI MAY GENERATE RANDOM VIBES">โ ๏ธ WARNING: AI MAY GENERATE RANDOM VIBES</p> | |
| <p style="color: #00f7ff;">๐ Your data stays chill โข ๐จ Made with ~vibes~</p> | |
| </div> | |
| """ | |
| shortcuts = """ | |
| <div style="text-align: center; margin: 20px 0;"> | |
| <p style="color: #ff6bff;">๐ฅ QUICK ACTIONS:</p> | |
| <button style="margin: 5px;" onclick="document.querySelector('textarea').value='Rate this pic 1-10'">๐พ Rate Pic</button> | |
| <button style="margin: 5px;" onclick="document.querySelector('textarea').value='Make this pic go viral'">๐ Viral Content</button> | |
| </div> | |
| """ | |