Update app.py
Browse files
app.py
CHANGED
@@ -144,54 +144,58 @@ def evaluate_predictions(prediction_file, model_name, add_to_leaderboard):
|
|
144 |
|
145 |
initialize_leaderboard_file()
|
146 |
|
|
|
|
|
147 |
# Function to set default mode
|
148 |
css_tech_theme = """
|
149 |
body {
|
150 |
-
background-color: #
|
151 |
color: #333333;
|
152 |
-
font-family: '
|
153 |
line-height: 1.6;
|
154 |
}
|
155 |
|
156 |
a {
|
157 |
-
color: #
|
158 |
font-weight: 500;
|
159 |
}
|
160 |
|
161 |
a:hover {
|
162 |
-
color: #
|
163 |
text-decoration: underline;
|
164 |
}
|
165 |
|
166 |
button {
|
167 |
-
background-color: #
|
168 |
color: #ffffff;
|
169 |
border: none;
|
170 |
border-radius: 6px;
|
171 |
padding: 10px 15px;
|
172 |
font-size: 14px;
|
173 |
cursor: pointer;
|
174 |
-
transition: background-color 0.3s ease;
|
175 |
}
|
176 |
|
177 |
button:hover {
|
178 |
-
background-color: #
|
|
|
179 |
}
|
180 |
|
181 |
.input-row, .tab-content {
|
182 |
-
background-color: #
|
183 |
-
border-radius:
|
184 |
padding: 20px;
|
185 |
-
box-shadow: 0 2px
|
186 |
}
|
187 |
|
188 |
.dataframe {
|
189 |
color: #333333;
|
190 |
background-color: #ffffff;
|
191 |
-
border: 1px solid #
|
192 |
-
border-radius:
|
193 |
-
padding:
|
194 |
font-size: 14px;
|
|
|
195 |
}
|
196 |
"""
|
197 |
|
@@ -278,3 +282,4 @@ For support, email: [Insert Email Address]
|
|
278 |
|
279 |
demo.launch()
|
280 |
|
|
|
|
144 |
|
145 |
initialize_leaderboard_file()
|
146 |
|
147 |
+
|
148 |
+
|
149 |
# Function to set default mode
|
150 |
css_tech_theme = """
|
151 |
body {
|
152 |
+
background-color: #f4f6fa;
|
153 |
color: #333333;
|
154 |
+
font-family: 'Roboto', sans-serif;
|
155 |
line-height: 1.6;
|
156 |
}
|
157 |
|
158 |
a {
|
159 |
+
color: #6a1b9a;
|
160 |
font-weight: 500;
|
161 |
}
|
162 |
|
163 |
a:hover {
|
164 |
+
color: #8c52d3;
|
165 |
text-decoration: underline;
|
166 |
}
|
167 |
|
168 |
button {
|
169 |
+
background-color: #64b5f6;
|
170 |
color: #ffffff;
|
171 |
border: none;
|
172 |
border-radius: 6px;
|
173 |
padding: 10px 15px;
|
174 |
font-size: 14px;
|
175 |
cursor: pointer;
|
176 |
+
transition: background-color 0.3s ease, transform 0.3s ease;
|
177 |
}
|
178 |
|
179 |
button:hover {
|
180 |
+
background-color: #6a1b9a;
|
181 |
+
transform: scale(1.05);
|
182 |
}
|
183 |
|
184 |
.input-row, .tab-content {
|
185 |
+
background-color: #ffffff;
|
186 |
+
border-radius: 10px;
|
187 |
padding: 20px;
|
188 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
189 |
}
|
190 |
|
191 |
.dataframe {
|
192 |
color: #333333;
|
193 |
background-color: #ffffff;
|
194 |
+
border: 1px solid #e5eff2;
|
195 |
+
border-radius: 10px;
|
196 |
+
padding: 15px;
|
197 |
font-size: 14px;
|
198 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
199 |
}
|
200 |
"""
|
201 |
|
|
|
282 |
|
283 |
demo.launch()
|
284 |
|
285 |
+
|