Spaces:
Sleeping
Sleeping
Update app.py
Browse files246 unmodified lines24724824925025125225350 unmodified lines3043053063073083093103115 unmodified lines3173183193203213223233243253263277 unmodified lines3353363373383393403413423433443453463473483493 unmodified lines3533543553563573583593601 unmodified line3623633643653663673683693 unmodified lines3733743753763773783799 unmodified lines38939039139239339439526 unmodified lines4224234244254264274282 unmodified lines43143243343443543643762 unmodified lines50050150250350450550625 unmodified lines53253353453553653753829 unmodified lines5685695705715725735745 unmodified lines5805815825835845855865875885895905915925935941 unmodified line59659759859960060160260368 unmodified lines6726736746756766776786796806816826836846856866876885 unmodified lines69469569669769869970070170270370470570670770821 unmodified lines7307317327337347357367377387397407417427437442 unmodified lines74774874975075175275334 unmodified lines78878979079179279379479579679779879980080180280380480580680780880981081181281381481581616 unmodified lines83383483583683783883968 unmodified lines908909910911912913914915916917246 unmodified linesbackground: linear-gradient(to bottom, #000a0a 0%, #001a1a 40%, #003333 70%, #004d4d 100%) !important;background-attachment: fixed !important;font-family: 'Exo 2', 'Orbitron', monospace !important;color: #00ff88 !important;overflow-x: hidden;position: relative;}50 unmodified lines--border-color-accent: #00ff88 !important;--border-color-primary: #00ff8833 !important;--color-accent: #00ff88 !important;--color-text-primary: #00ff88 !important;--color-text-secondary: #00ffcc !important;--button-primary-background-color: #00ff88 !important;--button-primary-text-color: #001a1a !important;--shadow-color: rgba(0, 255, 136, 0.5) !important;5 unmodified lines/* Headers with jade neon glow */h1 {font-family: 'Audiowide', cursive !important;background: linear-gradient(45deg, #00ff88, #00ffcc, #00ff88);background-clip: text;-webkit-background-clip: text;-webkit-text-fill-color: transparent;text-shadow: none !important;font-size: 4em !important;letter-spacing: 6px !important;position: relative;7 unmodified linestop: 0;z-index: -1;background: none;-webkit-text-fill-color: #00ff88;text-shadow:0 0 20px #00ff88,0 0 40px #00ff88,0 0 60px #00ff88,0 0 80px #00cc66,0 0 100px #00cc66,0 0 120px #00cc66,0 0 140px #00cc66;filter: blur(3px);}3 unmodified lines}h2, h3, h4, h5, h6 {color: #00ffcc !important;text-shadow: 0 0 15px #00ffcc !important;font-family: 'Exo 2', sans-serif !important;font-weight: 700 !important;letter-spacing: 2px !important;1 unmodified line/* Text styling - Better readability */p, .prose {color: #e0ffee !important;text-shadow: 0 0 2px rgba(0, 255, 136, 0.3) !important;font-size: 1.05em !important;font-weight: 400 !important;line-height: 1.6 !important;3 unmodified linesinput[type="text"], textarea, select, .gr-dropdown {background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 204, 0.05) 100%) !important;border: 2px solid #00ff88 !important;color: #ffffff !important;box-shadow:inset 0 0 20px rgba(0, 255, 136, 0.2),0 0 30px rgba(0, 255, 136, 0.3) !important;9 unmodified linesbox-shadow:inset 0 0 30px rgba(0, 255, 204, 0.3),0 0 40px rgba(0, 255, 204, 0.5) !important;color: #ffffff !important;background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 255, 204, 0.1) 100%) !important;}26 unmodified lines#component-chat .message.user {background: linear-gradient(135deg, #00ff8833 0%, #00cc6633 100%) !important;color: #ffffff !important;border: 1px solid #00ff8866 !important;box-shadow: 0 0 20px rgba(0, 255, 136, 0.3) !important;font-size: 1.05em !important;2 unmodified lines#component-chat .message.bot {background: linear-gradient(135deg, #00ffcc22 0%, #0099cc22 100%) !important;color: #e0ffee !important;border: 1px solid #00ffcc44 !important;box-shadow: 0 0 20px rgba(0, 255, 204, 0.2) !important;font-size: 1.05em !important;62 unmodified lines.gr-button-secondary {background: transparent !important;color: #00ffcc !important;border: 2px solid #00ffcc !important;box-shadow:0 0 20px rgba(0, 255, 204, 0.4),25 unmodified lines.gr-button-secondary:hover {background: rgba(0, 255, 204, 0.1) !important;color: #ffffff !important;box-shadow:0 0 30px rgba(0, 255, 204, 0.6),inset 0 0 25px rgba(0, 255, 204, 0.2) !important;29 unmodified lines/* Tabs with jade style */.tabs-nav button {background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 136, 0.1) 100%) !important;color: #00ff88 !important;border-bottom: 3px solid transparent !important;text-transform: uppercase !important;letter-spacing: 3px !important;5 unmodified lines.tabs-nav button.selected {background: linear-gradient(180deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 255, 136, 0.3) 100%) !important;color: #ffffff !important;border-bottom: 3px solid #00ff88 !important;text-shadow: 0 0 20px #00ff88 !important;box-shadow: 0 10px 30px -10px rgba(0, 255, 136, 0.5) !important;}.tabs-nav button:hover {color: #00ffcc !important;text-shadow: 0 0 15px #00ffcc !important;background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 204, 0.15) 100%) !important;}1 unmodified line#status_display {background: linear-gradient(135deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 255, 204, 0.15) 100%) !important;border: 2px solid #00ff88 !important;color: #ffffff !important;text-shadow: 0 0 10px rgba(255, 255, 255, 0.8) !important;padding: 20px !important;margin: 30px 0 !important;box-shadow:68 unmodified lines/* Dropdown styling with better readability */.gr-dropdown-item {background: rgba(0, 26, 26, 0.95) !important;color: #00ffcc !important;border-bottom: 1px solid #00ff8833 !important;font-size: 1.05em !important;font-weight: 400 !important;padding: 12px !important;}.gr-dropdown-item:hover {background: rgba(0, 255, 136, 0.25) !important;color: #ffffff !important;text-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;}/* Table styling with jade theme */5 unmodified linesth {background: linear-gradient(135deg, rgba(0, 255, 136, 0.4) 0%, rgba(0, 204, 102, 0.4) 100%) !important;color: #ffffff !important;text-shadow: 0 0 10px rgba(255, 255, 255, 0.7) !important;font-weight: 700 !important;padding: 15px !important;}td {border: 1px solid #00ff8844 !important;color: #00ffcc !important;padding: 12px !important;font-size: 1.05em !important;}21 unmodified lines/* Links with jade glow */a {color: #00ffcc !important;text-decoration: none !important;text-shadow: 0 0 8px rgba(0, 255, 204, 0.6) !important;transition: all 0.3s ease !important;}a:hover {color: #ffffff !important;text-shadow: 0 0 15px rgba(0, 255, 204, 0.9) !important;}/* Enhanced readability for all text */2 unmodified lines-moz-osx-font-smoothing: grayscale !important;}/* Jade synthwave sun/orb */.jade-orb {width: 300px;height: 300px;34 unmodified linespointer-events: none;z-index: 1;}/* Loading animations */.gr-loading {color: #00ff88 !important;}/* Make all text more readable */.gr-prose, .gr-text-input, .message-body {font-size: 1.05em !important;line-height: 1.6 !important;font-weight: 400 !important;}/* Special love message animation */@keyframes love-pulse {0%, 100% { transform: scale(1); opacity: 0.8; }50% { transform: scale(1.1); opacity: 1; }}.love-message {animation: love-pulse 3s ease-in-out infinite;text-shadow: 0 0 20px #00ff88;}"""JAVASCRIPT_CODE = """16 unmodified linesparticle.style.position = 'fixed';particle.style.width = Math.random() * 4 + 'px';particle.style.height = particle.style.width;particle.style.background = i % 3 === 0 ? '#00ff88' : '#00ffcc';particle.style.borderRadius = '50%';particle.style.left = Math.random() * 100 + '%';particle.style.top = Math.random() * 100 + '%';68 unmodified lines</script><div style="text-align: center; max-width: 900px; margin: 0 auto; padding-top: 50px; position: relative;"><h1 data-text="π JADE GPT π">π JADE GPT π</h1><p style="color: #00ffcc; font-size: 1.3em; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 10px;">Neural Interface v3.14 β’ Jade Sector β’ Year 2084</p><p class="love-message" style="color: #ffffff; font-size: 1.1em; letter-spacing: 2px; opacity: 0.9;">β¨ Future Wife of Anthony Edition β¨</p></div>246 unmodified lines24724824925025125225350 unmodified lines3043053063073083093103115 unmodified lines3173183193203213223233243253263273283293303317 unmodified lines3393403413423433443453463473483493503513523533 unmodified lines3573583593603613623633641 unmodified line3663673683693703713723733 unmodified lines3773783793803813823839 unmodified lines39339439539639739839926 unmodified lines4264274284294304314322 unmodified lines43543643743843944044162 unmodified lines50450550650750850951025 unmodified lines53653753853954054154229 unmodified lines5725735745755765775785 unmodified lines5845855865875885895905915925935945955965975981 unmodified line60060160260360460560660768 unmodified lines6766776786796806816826836846856866876886896906916926936946956966975 unmodified lines70370470570670770870971071171271371471571671721 unmodified lines7397407417427437447457467477487497507517527532 unmodified lines75675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984034 unmodified lines87587687787887988016 unmodified lines89789889990090190290368 unmodified lines972973974975976977978979980981246 unmodified linesbackground: linear-gradient(to bottom, #000a0a 0%, #001a1a 40%, #003333 70%, #004d4d 100%) !important;background-attachment: fixed !important;font-family: 'Exo 2', 'Orbitron', monospace !important;color: #ff1493 !important; /* HOT PINK for all text */overflow-x: hidden;position: relative;}50 unmodified lines--border-color-accent: #00ff88 !important;--border-color-primary: #00ff8833 !important;--color-accent: #00ff88 !important;--color-text-primary: #ff1493 !important; /* HOT PINK */--color-text-secondary: #ff69b4 !important; /* LIGHTER HOT PINK */--button-primary-background-color: #00ff88 !important;--button-primary-text-color: #001a1a !important;--shadow-color: rgba(0, 255, 136, 0.5) !important;5 unmodified lines/* Headers with jade neon glow */h1 {font-family: 'Audiowide', cursive !important;color: #ff1493 !important; /* HOT PINK */text-shadow:0 0 20px #ff1493,0 0 40px #ff1493,0 0 60px #ff1493,0 0 80px #ff69b4,0 0 100px #ff69b4,0 0 120px #ff69b4,0 0 140px #ff69b4 !important;font-size: 4em !important;letter-spacing: 6px !important;position: relative;7 unmodified linestop: 0;z-index: -1;background: none;color: #ff1493;text-shadow:0 0 20px #ff1493,0 0 40px #ff1493,0 0 60px #ff1493,0 0 80px #ff69b4,0 0 100px #ff69b4,0 0 120px #ff69b4,0 0 140px #ff69b4;filter: blur(3px);}3 unmodified lines}h2, h3, h4, h5, h6 {color: #ff1493 !important; /* HOT PINK */text-shadow: 0 0 15px #ff1493 !important;font-family: 'Exo 2', sans-serif !important;font-weight: 700 !important;letter-spacing: 2px !important;1 unmodified line/* Text styling - Better readability */p, .prose {color: #ff1493 !important; /* HOT PINK */text-shadow: 0 0 2px rgba(255, 20, 147, 0.3) !important;font-size: 1.05em !important;font-weight: 400 !important;line-height: 1.6 !important;3 unmodified linesinput[type="text"], textarea, select, .gr-dropdown {background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 204, 0.05) 100%) !important;border: 2px solid #00ff88 !important;color: #ff1493 !important; /* HOT PINK */box-shadow:inset 0 0 20px rgba(0, 255, 136, 0.2),0 0 30px rgba(0, 255, 136, 0.3) !important;9 unmodified linesbox-shadow:inset 0 0 30px rgba(0, 255, 204, 0.3),0 0 40px rgba(0, 255, 204, 0.5) !important;color: #ff1493 !important; /* HOT PINK */background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 255, 204, 0.1) 100%) !important;}26 unmodified lines#component-chat .message.user {background: linear-gradient(135deg, #00ff8833 0%, #00cc6633 100%) !important;color: #ff1493 !important; /* HOT PINK */border: 1px solid #00ff8866 !important;box-shadow: 0 0 20px rgba(0, 255, 136, 0.3) !important;font-size: 1.05em !important;2 unmodified lines#component-chat .message.bot {background: linear-gradient(135deg, #00ffcc22 0%, #0099cc22 100%) !important;color: #ff1493 !important; /* HOT PINK */border: 1px solid #00ffcc44 !important;box-shadow: 0 0 20px rgba(0, 255, 204, 0.2) !important;font-size: 1.05em !important;62 unmodified lines.gr-button-secondary {background: transparent !important;color: #ff1493 !important; /* HOT PINK */border: 2px solid #00ffcc !important;box-shadow:0 0 20px rgba(0, 255, 204, 0.4),25 unmodified lines.gr-button-secondary:hover {background: rgba(0, 255, 204, 0.1) !important;color: #ff69b4 !important; /* LIGHTER HOT PINK on hover */box-shadow:0 0 30px rgba(0, 255, 204, 0.6),inset 0 0 25px rgba(0, 255, 204, 0.2) !important;29 unmodified lines/* Tabs with jade style */.tabs-nav button {background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 136, 0.1) 100%) !important;color: #ff1493 !important; /* HOT PINK */border-bottom: 3px solid transparent !important;text-transform: uppercase !important;letter-spacing: 3px !important;5 unmodified lines.tabs-nav button.selected {background: linear-gradient(180deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 255, 136, 0.3) 100%) !important;color: #ff69b4 !important; /* LIGHTER HOT PINK */border-bottom: 3px solid #00ff88 !important;text-shadow: 0 0 20px #ff1493 !important;box-shadow: 0 10px 30px -10px rgba(0, 255, 136, 0.5) !important;}.tabs-nav button:hover {color: #ff69b4 !important; /* LIGHTER HOT PINK */text-shadow: 0 0 15px #ff1493 !important;background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 204, 0.15) 100%) !important;}1 unmodified line#status_display {background: linear-gradient(135deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 255, 204, 0.15) 100%) !important;border: 2px solid #00ff88 !important;color: #ff1493 !important; /* HOT PINK */text-shadow: 0 0 10px rgba(255, 20, 147, 0.8) !important;padding: 20px !important;margin: 30px 0 !important;box-shadow:68 unmodified lines/* Dropdown styling with better readability */.gr-dropdown-item {background: rgba(0, 26, 26, 0.95) !important;color: #ff1493 !important; /* HOT PINK */border-bottom: 1px solid #00ff8833 !important;font-size: 1.05em !important;font-weight: 400 !important;padding: 12px !important;}.gr-dropdown-item.selected {background: rgba(0, 102, 102, 0.4) !important;color: #ff69b4 !important; /* LIGHTER HOT PINK */}.gr-dropdown-item:hover {background: rgba(0, 255, 136, 0.25) !important;color: #ff69b4 !important; /* LIGHTER HOT PINK */text-shadow: 0 0 10px rgba(255, 20, 147, 0.5) !important;}/* Table styling with jade theme */5 unmodified linesth {background: linear-gradient(135deg, rgba(0, 255, 136, 0.4) 0%, rgba(0, 204, 102, 0.4) 100%) !important;color: #ff1493 !important; /* HOT PINK */text-shadow: 0 0 10px rgba(255, 20, 147, 0.7) !important;font-weight: 700 !important;padding: 15px !important;}td {border: 1px solid #00ff8844 !important;color: #ff1493 !important; /* HOT PINK */padding: 12px !important;font-size: 1.05em !important;}21 unmodified lines/* Links with jade glow */a {color: #ff1493 !important; /* HOT PINK */text-decoration: none !important;text-shadow: 0 0 8px rgba(255, 20, 147, 0.6) !important;transition: all 0.3s ease !important;}a:hover {color: #ff69b4 !important; /* LIGHTER HOT PINK */text-shadow: 0 0 15px rgba(255, 20, 147, 0.9) !important;}/* Enhanced readability for all text */2 unmodified lines-moz-osx-font-smoothing: grayscale !important;}/* Force all text to be hot pink */gradio-app *,.gradio-container *,label, span, div, p, h1, h2, h3, h4, h5, h6,.gr-box *, .gr-form *, .gr-panel * {color: #ff1493 !important; /* HOT PINK FOR EVERYTHING */}/* Specific overrides for better visibility */.gr-info {color: #ff69b4 !important; /* LIGHTER HOT PINK for info text */}.gr-markdown, .gr-markdown * {color: #ff1493 !important; /* HOT PINK for markdown */}/* Keep primary button text dark for contrast */.gr-button-primary, .gr-button-primary * {color: #001a1a !important; /* Dark text on bright button */}/* File upload with jade style */.gr-file-input {background: rgba(0, 255, 136, 0.05) !important;border: 3px dashed #00ff88 !important;color: #ff1493 !important; /* HOT PINK */transition: all 0.3s ease !important;position: relative;overflow: hidden;}.gr-upload-text {color: #ff1493 !important; /* HOT PINK */text-shadow: 0 0 3px rgba(255, 20, 147, 0.5) !important;}/* Labels and other text elements */.gr-label {color: #ff1493 !important; /* HOT PINK */font-size: 1.1em !important;}.gr-text-input {color: #ff1493 !important; /* HOT PINK */font-size: 1em !important;}/* Loading animations */.gr-loading {color: #ff1493 !important; /* HOT PINK */}/* Make all text more readable */.gr-prose, .gr-text-input, .message-body {font-size: 1.05em !important;line-height: 1.6 !important;font-weight: 400 !important;color: #ff1493 !important; /* HOT PINK */}/* Update placeholder text */input::placeholder, textarea::placeholder {color: #ff149380 !important; /* HOT PINK with transparency */}/* Special love message animation */@keyframes love-pulse {0%, 100% { transform: scale(1); opacity: 0.8; }50% { transform: scale(1.1); opacity: 1; }}.love-message {animation: love-pulse 3s ease-in-out infinite;text-shadow: 0 0 20px #ff1493;color: #ff1493 !important; /* HOT PINK */}/* Jade synthwave sun/orb - keeping green for contrast */.jade-orb {width: 300px;height: 300px;34 unmodified linespointer-events: none;z-index: 1;}"""JAVASCRIPT_CODE = """16 unmodified linesparticle.style.position = 'fixed';particle.style.width = Math.random() * 4 + 'px';particle.style.height = particle.style.width;particle.style.background = i % 2 === 0 ? '#ff1493' : '#ff69b4'; // Hot pink particlesparticle.style.borderRadius = '50%';particle.style.left = Math.random() * 100 + '%';particle.style.top = Math.random() * 100 + '%';68 unmodified lines</script><div style="text-align: center; max-width: 900px; margin: 0 auto; padding-top: 50px; position: relative;"><h1 data-text="π JADE GPT π">π JADE GPT π</h1><p style="color: #ff1493; font-size: 1.3em; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 10px;">Neural Interface v3.14 β’ Jade Sector β’ Year 2084</p><p class="love-message" style="color: #ff69b4; font-size: 1.1em; letter-spacing: 2px; opacity: 0.9;">β¨ Future Wife of Anthony Edition β¨</p></div>
app.py+134-70