Spaces:
Runtime error
Runtime error
| # CSS for styling the interface | |
| css = """ | |
| #col-left, #col-mid, #col-right { | |
| margin: 0 auto; | |
| max-width: 400px; | |
| padding: 10px; | |
| border-radius: 15px; | |
| background-color: #f9f9f9; | |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |
| } | |
| #banner { | |
| width: 100%; | |
| text-align: center; | |
| margin-bottom: 20px; | |
| } | |
| #run-button { | |
| background-color: #ff4b5c; | |
| color: white; | |
| font-weight: bold; | |
| padding: 10px; | |
| border-radius: 10px; | |
| cursor: pointer; | |
| box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); | |
| } | |
| #footer { | |
| text-align: center; | |
| margin-top: 20px; | |
| color: silver; | |
| } | |
| """ | |
| css2=""" | |
| .gradio-container { | |
| background-image: linear-gradient(#000000, #0a0a0a, #111111) !important; | |
| color: #00ffff !important; | |
| font-family: 'IBM Plex Sans', sans-serif !important; | |
| } | |
| h1 { | |
| font-size: 6em; | |
| color: #ff00ff; | |
| margin-top: 30px; | |
| margin-bottom: 30px; | |
| text-shadow: 3px 3px 5px rgba(255, 0, 255, 0.8) !important; | |
| } | |
| h3 { | |
| color: #00ff99 !important; | |
| } | |
| h4 { | |
| display: inline-block; | |
| color: #ffffff !important; | |
| } | |
| .wrapper img { | |
| font-size: 98% !important; | |
| white-space: nowrap !important; | |
| text-align: center !important; | |
| display: inline-block !important; | |
| color: #ffffff !important; | |
| } | |
| .wrapper { | |
| color: #ffffff !important; | |
| } | |
| .text-gray-500 { | |
| color: #ff0099 !important; | |
| } | |
| .gr-box { | |
| background-image: linear-gradient(#111111, #0a0a0a, #000000) !important; | |
| border-top-color: #ff00ff !important; | |
| border-right-color: #00ffff !important; | |
| border-bottom-color: #ff00ff !important; | |
| border-left-color: #00ffff !important; | |
| } | |
| .gr-input { | |
| color: #00ff99 !important; | |
| background-color: #111111 !important; | |
| } | |
| :root { | |
| --neutral-100: #000000 !important; | |
| } | |
| .gr-button { | |
| color: #ffffff !important; | |
| text-shadow: 1px 1px 5px rgba(0, 255, 255, 0.8) !important; | |
| background-image: linear-gradient(#002244, #004488) !important; | |
| border-radius: 24px !important; | |
| border: solid 1px !important; | |
| border-top-color: #00ffff !important; | |
| border-right-color: #ff00ff !important; | |
| border-bottom-color: #ff00ff !important; | |
| border-left-color: #00ffff !important; | |
| padding: 6px 30px; | |
| } | |
| .gr-button:active { | |
| color: #ff00ff !important; | |
| font-size: 98% !important; | |
| text-shadow: 0px 0px 5px rgba(255, 0, 255, 0.8) !important; | |
| background-image: linear-gradient(#004488, #002244) !important; | |
| border-top-color: #ff00ff !important; | |
| border-right-color: #00ffff !important; | |
| border-bottom-color: #00ffff !important; | |
| border-left-color: #ff00ff !important; | |
| } | |
| .gr-button:hover { | |
| filter: brightness(150%); | |
| } | |
| """ |