Michelangiolo commited on
Commit
6ba8908
1 Parent(s): 001e37c
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -11,17 +11,13 @@ def correct_score(score, big_5_indicator):
11
  5 : 'Openness'
12
  }
13
  if big_5_sign=='+':
14
- print(dict1[big_5_num])
15
- print(score)
16
  return [dict1[big_5_num], score]
17
  elif big_5_sign =='-':
18
- print(dict1[big_5_num])
19
- print(score)
20
  return [dict1[big_5_num], 6-score]
21
  # correct_score(3, big_5_indicator='-2')
22
 
23
  def make_question(q):
24
- q = gr.Radio(choices=[1, 2, 3, 4, 5], label=q, value=3) #, value=5
25
  return q
26
 
27
  def calculate_personality_score(questions, list_questions):
 
11
  5 : 'Openness'
12
  }
13
  if big_5_sign=='+':
 
 
14
  return [dict1[big_5_num], score]
15
  elif big_5_sign =='-':
 
 
16
  return [dict1[big_5_num], 6-score]
17
  # correct_score(3, big_5_indicator='-2')
18
 
19
  def make_question(q):
20
+ q = gr.Radio(choices=[1, 2, 3, 4, 5], label=q) #, value=5
21
  return q
22
 
23
  def calculate_personality_score(questions, list_questions):