Spaces:
Sleeping
Sleeping
File size: 3,979 Bytes
1192484 b074ec2 1192484 0159d8a 1192484 | 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 | :root{
--card-back: #060c17;
--btn-color: #2d1668;
--bright-lavender: #a66ff2;
--size-8: 20px;
--size-4: 0px;
--block-padding: 0px
}
:root .dark{
--layout-gap: 20px;
--neutral-100: #BBC2CFff;
--body-text-color: var(--neutral-100);
}
body::before {
content: "";
position: fixed;
inset: 0;
background:
linear-gradient(rgba(5,8,18,.75), rgba(5,8,18,.75)),
url("/gradio_api/file=assets/space_1.jpg") center/cover no-repeat;
z-index: 0;
}
.gradio-container-6-20-0 {
--primary-400: #aa92e8;
--primary-500: #9070e1;
--primary-600: #754eda;
--primary-700: #5b2dd2;
--color-accent: var(--primary-500);
--stat-background-fill: linear-gradient(to right, var(--primary-400), var(--primary-600))
}
.gradio-container {
max-width: 1500px !important;
gap: 24px;
font-family: sans-serif;
}
.column.card > .block {
flex-grow: 0 !important;
flex-shrink: 0 !important;
flex-basis: auto !important;
}
.column.card {
display: flex !important;
flex-direction: column !important;
justify-content: flex-start !important;
gap: 15px !important;
background-color: var(--card-back);
padding:18px;
border-radius:15px;
border: var(--block-border-width) solid var(--border-color-primary)
}
.block-label{
padding:4px 10px !important;
font-size:13px !important;
}
.title-text.prose h3{
font-weight: 600 !important;
color: var(--bright-lavender) !important;
font-size: 1.17em
}
.image-frame img {
object-fit: contain !important;
}
#navbar-block .html-container{
padding: 0px
}
#prediction-card .html-container,
#prediction-card .html-container .prose{
padding: 0px;
height: stretch;
}
.navbar{
display:flex;
justify-content:space-between;
align-items:center;
background-color: var(--card-back);
margin-top: calc(-1 * var(--size-4));
margin-left: calc(-1 * var(--size-8));
margin-right: calc(-1 * var(--size-8));
border-radius: 0px;
padding: 15px 28px;
border-bottom: var(--block-border-width) solid var(--border-color-primary);
}
.nav-links{
margin-left: auto;
}
#model_row{
gap: 10px
}
#model_dropdown{
padding: 0px !important;
}
#classify-btn{
padding: 0px !important;
font-size:16px !important;
background-color: var(--btn-color) !important;
color: var(--body-text-color) !important;
}
.gradcam-desc.prose{
padding: 10px;
border: 1px dashed var(--border-color-primary) ;
border-radius: 8px;
}
.pred-row{
align-content: flex-start !important;
flex-grow: 0 !important;
}
.prediction-card{
display:flex;
flex-direction:column;
height:100%;
background-color: #27272a;
padding: 16px;
border-radius: 8px;
gap: 8px;
}
.section-title{
margin: 0px;
}
.prediction-name, .confidence-value{
font-size:30px;
font-weight:700;
color: var(--bright-lavender);
}
.prediction-type{
font-size:15px;
color:var(--body-text-color);
}
.confidence-bar{
width:100%;
height:10px;
background:#333;
border-radius:999px;
overflow:hidden;
}
.confidence-fill{
height:100%;
background:var(--stat-background-fill);
border-radius:999px;
}
.confidence-scale{
display:flex;
justify-content:space-between;
font-size:13px;
color:var(--body-text-color);
}
.prediction-card hr{
border:none;
border-top:1px solid rgba(255,255,255,.12);
margin:5px 0;
}
#result-md{
max-height:420px;
overflow:auto;
background: #27272a;
border-radius: 8px;
padding: 1rem;
}
#project-notes button span{
font-size: 1.17em;
font-weight: 600;
color: var(--bright-lavender) !important;
}
#footer{
background-color: var(--card-back);
padding:20px;
border-radius:15px;
border: var(--block-border-width) solid var(--border-color-primary);
margin-bottom: 16px;
}
#footer .styler {
background: var(--card-back);
}
|