barbara-multimodal commited on
Commit
d60680f
·
1 Parent(s): e6da03d

feat: Add default grading system and custom CSS constants

Browse files
Files changed (1) hide show
  1. src/constants.py +49 -2
src/constants.py CHANGED
@@ -1,6 +1,7 @@
1
  import os
 
2
 
3
- API_KEY = os.getenv("API_KEY")
4
  CONVERSATIONAL_MODEL_API_ENDPOINT = "https://talent-interview-prep-conversational-model.multimodal.dev/"
5
  QUESTION_RELATED_FEEDBACK_API_ENDPOINT = "https://talent-interview-prep-question-related-feedback.multimodal.dev/"
6
  QUESTION_RELATED_IDEAL_ANSWER_API_ENDPOINT = "https://talent-interview-prep-question-related-ideal-answer.multimodal.dev/"
@@ -21,4 +22,50 @@ QUESTIONS = {
21
  "Now that we've discussed the role and responsibilities, do you have any questions about our company or the Senior Product Manager position?": ""
22
  }
23
 
24
- FULL_QUESTIONS = list(QUESTIONS.keys())
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import os
2
+ import pandas as pd
3
 
4
+ API_KEY = "e994f494-cdb5-468d-84bc-dca6a4d3af67"
5
  CONVERSATIONAL_MODEL_API_ENDPOINT = "https://talent-interview-prep-conversational-model.multimodal.dev/"
6
  QUESTION_RELATED_FEEDBACK_API_ENDPOINT = "https://talent-interview-prep-question-related-feedback.multimodal.dev/"
7
  QUESTION_RELATED_IDEAL_ANSWER_API_ENDPOINT = "https://talent-interview-prep-question-related-ideal-answer.multimodal.dev/"
 
22
  "Now that we've discussed the role and responsibilities, do you have any questions about our company or the Senior Product Manager position?": ""
23
  }
24
 
25
+ FULL_QUESTIONS = list(QUESTIONS.keys())
26
+
27
+ DEFAULT_GRADING_SYSTEM_DF = pd.DataFrame(
28
+ {
29
+ "Question criteria": [
30
+ ""
31
+ ],
32
+ "Evaluation": [
33
+ ""
34
+ ]
35
+ }
36
+ )
37
+
38
+ CUSTOM_CSS = """
39
+ #fill-button {
40
+ height: 100%;
41
+ width: 100%;
42
+ background-color: #f97316;
43
+ border-radius: 8px;
44
+ display: flex;
45
+ flex-direction: column;
46
+ align-items: center;
47
+ justify-content: center;
48
+ cursor: pointer;
49
+ border: none;
50
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
51
+ transition: background-color 0.3s, transform 0.2s;
52
+ }
53
+
54
+ #fill-button:hover {
55
+ background-color: #ea580c;
56
+ transform: scale(1.05);
57
+ }
58
+
59
+ #fill-button span {
60
+ font-size: 18px;
61
+ color: white;
62
+ font-weight: bold;
63
+ margin-bottom: 20px;
64
+ }
65
+
66
+ #fill-button::after {
67
+ content: '➤';
68
+ font-size: 18px;
69
+ color: white;
70
+ }
71
+ """