Spaces:
Running
Running
Update common.py
Browse files
common.py
CHANGED
@@ -25,12 +25,21 @@ CSS_STYLES = """
|
|
25 |
justify-content: flex-end;
|
26 |
margin-top: 8px;
|
27 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
"""
|
29 |
|
30 |
# Default Eval Prompt
|
31 |
EVAL_DESCRIPTION = """
|
32 |
## π Instructions
|
33 |
-
**Precise evaluation criteria leads to more consistent and reliable judgments.** A good evaluation prompt should include the following:
|
34 |
- Evaluation criteria
|
35 |
- Scoring rubric
|
36 |
- (Optional) Examples\n
|
|
|
25 |
justify-content: flex-end;
|
26 |
margin-top: 8px;
|
27 |
}
|
28 |
+
/* Style for metric buttons */
|
29 |
+
.metric-button-active {
|
30 |
+
background-color: #2B3A55 !important;
|
31 |
+
color: white !important;
|
32 |
+
}
|
33 |
+
/* Add this to ensure proper button spacing */
|
34 |
+
.metric-buttons-row {
|
35 |
+
gap: 8px;
|
36 |
+
}
|
37 |
"""
|
38 |
|
39 |
# Default Eval Prompt
|
40 |
EVAL_DESCRIPTION = """
|
41 |
## π Instructions
|
42 |
+
**Precise evaluation criteria leads to more consistent and reliable judgments.** A good evaluation prompt should include the following elements:
|
43 |
- Evaluation criteria
|
44 |
- Scoring rubric
|
45 |
- (Optional) Examples\n
|