Spaces:
Runtime error
Runtime error
File size: 9,613 Bytes
ddb4de0 36416cb ddb4de0 007b414 ddb4de0 02305ec 5df1b32 02305ec 36416cb 02305ec ddb4de0 2b28532 007b414 ddb4de0 007b414 ddb4de0 ac25389 2b28532 ac25389 5df1b32 ac25389 ddb4de0 ac25389 ddb4de0 ac25389 ddb4de0 ac25389 ddb4de0 2b28532 007b414 ddb4de0 007b414 ddb4de0 5df1b32 007b414 ddb4de0 2b28532 007b414 2b28532 ddb4de0 2b28532 ddb4de0 fa8b4be ddb4de0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 |
:root {
--color-accent: #e20819 !important;
}
:root {
--duration-factor: 1;
--ease-in: cubic-bezier(0.51,0,0.9,0.43);
--ease-back-in: cubic-bezier(0.38,-0.37,0.83,0.23);
--ease-out: cubic-bezier(0.35,0.91,0.3,0.99);
--ease-back-out: cubic-bezier(0.21,0.12,0.35,1.43);
--ease-in-out: cubic-bezier(0.75,0,0.21,0.99);
--ease-in-out-quart: cubic-bezier(0.77,0,0.175,1);
--in-view-delay: 0s;
--in-view-stagger-delay: 0s;
--in-view-stagger-amount: 0.2s;
--color-black: #000;
--color-accent-black: #1e281e;
--color-white: #fff;
--color-beige: #fffdf2;
--color-yellow: #ffd200;
--color-blue: #004081;
--color-accent-blue: #0064c8;
--color-bright-blue: #81e8ff;
--color-accent-red: #e62d1e;
--color-accent-pink: #ff3d9e
}
:root {
--total-width: 1392px;
--number-of-columns: 12;
--gutter-width: 16px;
--row-width: calc(var(--total-width) + var(--gutter-width) * 2);
--base-space: 8px;
--card-width: 95%;
}
@media screen and (min-width: 640px) {
:root {
--gutter-width:24px;
--card-width: 42%;
}
}
:root {
--font-body: "museo-sans",sans-serif;
--font-heading: "Tilt Warp", sans-serif;
--font-weight-body-regular: 500;
--font-weight-body-bold: 700;
font-size: 100%;
-webkit-text-size-adjust: none;
-moz-text-size-adjust: none;
text-size-adjust: none
}
/* ------------ DEFINE END ------------ */
gradio-app {
background: url("file=assets/hero-header-layer-1-large-up-2x.jpg") no-repeat !important;
background-size: cover !important;
background-attachment: fixed !important;
background-position: center center !important;
}
#character_area {
width: var(--card-width) !important;
align-self: center;
}
#character_area .pending {
opacity: 1 !important;
}
#character_area div.wrap {
display: none;
}
.character {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-end;
align-items: flex-start;
}
.text-bubble-content {
--color: #fff;
background: var(--color) !important;
border-radius: 1rem;
padding: 0.5rem 1rem !important;
box-shadow: #00000078 0.1rem 0.1rem 0.75rem 0px;
text-align: center;
}
.text-bubble-content::after {
border: 0.75em solid transparent;
border-top: 1.5em solid #ffffff;
content: "";
position: absolute;
left: calc(100% - 12.1em);
top: calc(100% - 9.75em);
transform: rotate(-45deg);
}
#talking_flower_pic {
display: flex;
align-self: center !important;
object-fit: cover !important;
object-position: center !important;
justify-content: flex-end;
height: 10rem;
}
#talking_flower_pic img {
height: 10rem;
}
/* Tabs */
.tabs {
width: var(--card-width) !important;
align-self: center;
}
.tabs .tab-nav {
font-family: var(--font-heading);
display: flex;
position: relative;
flex-wrap: wrap;
border-bottom: 0px !important;
margin-bottom: -1.5rem;
z-index: 100;
}
.tabs .tab-nav button {
--border-color: var(--color-accent-black);
font-size: 1.1rem !important;
background: #b787d2;
color: #fefdff;
backface-visibility: hidden !important;
border: solid var(--border-width,3px) var(--border-color,var(--color-accent-black)) !important;
border-radius: 1rem 0.1rem !important;
/* box-shadow: var(--shadow-x,1px) var(--shadow-y,2px) 0 var(--shadow-size,1px) var(--border-color,var(--color-accent-black)) !important; */
overflow: hidden !important;
transition: transform calc(var(--duration-factor) * .1s) ease-in-out !important;
transition-property: transform,box-shadow !important;
margin-right: 0.75rem;
}
.tabs .tab-nav button:hover {
--shadow-y: 3px !important;
--shadow-x: 2px !important;
transform: translate(-1px,-1px) !important;
}
.tabs .tabitem {
border: 0px !important;
}
.tabs .selected {
--shadow-y: 3px !important;
--shadow-x: 2px !important;
box-shadow: var(--shadow-x,1px) var(--shadow-y,2px) 0 var(--shadow-size,1px) var(--border-color,var(--color-accent-black)) !important;
transform: translate(-1px,-1px) !important;
}
#tab-speak-button {
background: var(--color-yellow);
color: var(--color-accent-black);
}
#tab-chat-button {
background: #2263c6;
color: var(--color-white);
}
#tab-mimic-button {
background: #fc3e9d;
color: var(--color-white);
}
.wonder-card {
--border-radius: 15px;
--border-color: var(--color-accent-black);
backface-visibility: hidden !important;
border: solid var(--border-width,4px) var(--border-color,var(--color-accent-black)) !important;
border-radius: var(--border-radius) !important;
box-shadow: var(--shadow-x,2px) var(--shadow-y,4px) 0 var(--shadow-size,2px) var(--border-color,var(--color-accent-black)) !important;
overflow: hidden !important;
transition: transform calc(var(--duration-factor) * .1s) ease-in-out !important;
transition-property: transform,box-shadow !important;
}
/* Input_text */
.form {
--border-radius: 15px;
--border-color: var(--color-accent-black);
align-self: center !important;
backface-visibility: hidden !important;
border: solid var(--border-width,4px) var(--border-color,var(--color-accent-black)) !important;
border-radius: var(--border-radius) !important;
box-shadow: var(--shadow-x,2px) var(--shadow-y,4px) 0 var(--shadow-size,2px) var(--border-color,var(--color-accent-black)) !important;
overflow: hidden !important;
transition: transform calc(var(--duration-factor) * .1s) ease-in-out !important;
transition-property: transform,box-shadow !important;
}
.input_text label textarea {
width: 80% !important;
}
.input_text div.wrap {
display: none !important;
}
.input_text {
display: flex !important;
background: #ffffff !important;
height: 12rem !important;
}
.input_text label {
margin-top: -2.25rem !important;
display: flex !important;
width: 100% !important;
align-content: center !important;
flex-direction: column !important;
flex-wrap: wrap !important;
justify-content: center !important;
align-items: center !important;
}
.input_text label span {
font-family: var(--font-heading) !important;
font-size: 1.225rem !important;
}
/* Main Button */
.main-button {
font-size: 1.625rem !important;
font-family: var(--font-heading) !important;
font-style: normal !important;
font-weight: 900 !important;
margin-top: -36px !important;
width: fit-content !important;
height: fit-content !important;
align-self: center !important;
z-index: 10 !important;
}
.main-button:hover {
--shadow-y: 6px !important;
--shadow-x: 4px !important;
transform: translate(-2px,-2px) !important;
}
.main-button:disabled,
.main-button[disabled]{
opacity: 100% !important;
}
#speak_button {
background: var(--color-yellow) !important;
color: var(--color-accent-black) !important;
}
#speak_button:hover {
background: #f5a200 !important;
}
#chat_button {
background: #2263c6 !important;
color: var(--color-white) !important;
}
#chat_button:hover {
background: #124080 !important;
}
#mimic_button {
background: #fc3e9d !important;
color: var(--color-white) !important;
}
#mimic_button:hover {
background: #aa2567 !important;
}
/* Examples */
#examples {
align-self: center;
padding: 0.2rem;
}
#examples .label {
display: none !important;
}
#examples .gallery {
display: flex;
flex-wrap: wrap;
gap: var(--spacing-lg);
justify-content: center;
align-items: center;
flex-direction: row;
align-content: center;
}
#examples button {
--border-radius: 12px;
--border-color: var(--color-accent-black);
background: #b787d2;
color: #fefdff;
backface-visibility: hidden !important;
border: solid var(--border-width,2px) var(--border-color,var(--color-accent-black)) !important;
border-radius: var(--border-radius) !important;
box-shadow: var(--shadow-x,1px) var(--shadow-y,2px) 0 var(--shadow-size,1px) var(--border-color,var(--color-accent-black)) !important;
overflow: hidden !important;
transition: transform calc(var(--duration-factor) * .1s) ease-in-out !important;
transition-property: transform,box-shadow !important;
}
#examples button:hover {
--shadow-y: 3px !important;
--shadow-x: 2px !important;
transform: translate(-1px,-1px) !important;
}
/* Audio_output */
#audio_output {
align-self: center !important;
width: var(--card-width) !important;
/* background: #4fd644 !important; */
}
#audio_output .icon-buttons {
--border-radius: 15px;
--border-color: var(
--color-accent-black);
backface-visibility: hidden !important;
border: solid var(--border-width,3px) var(--border-color,var(--color-accent-black)) !important;
border-radius: var(--border-radius) !important;
box-shadow: var(--shadow-x,0.5px) var(--shadow-y,0.5px) 0 var(--shadow-size,0.5px) var(--border-color,var(--color-accent-black)) !important;
overflow: hidden !important;
transition: transform calc(var(--duration-factor) * .1s) ease-in-out !important;
transition-property: transform,box-shadow !important;
}
#audio_output .icon-buttons:hover {
--shadow-y: 1.5px !important;
--shadow-x: 1px !important;
transform: translate(-1px,-1px) !important;
}
/* #audio_output .controls svg {
color: var(--color-white)
} */
#watermark {
font-family: var(--font-heading) !important;
}
footer {
display: none !important;
}
|