JRQi commited on
Commit
32ab445
β€’
1 Parent(s): 73f9676

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -14
app.py CHANGED
@@ -15,20 +15,20 @@ def ret_en():
15
  def ret_nl():
16
  return 'nl'
17
 
18
- def reset_scores():
19
- data = pd.DataFrame(
20
- {
21
- "Role": ["AI πŸ€–", "HUMAN πŸ™‹"],
22
- "Scores": [0, 0],
23
- }
24
- )
25
- tot_scores_2 = ''' #### <p style="text-align: center;"> Today's Scores:</p>
26
- #### <p style="text-align: center;"> πŸ€– Machine &ensp; <span style="color: red;">''' + str(int(0)) + '''</span> &ensp; VS &ensp; <span style="color: red;">''' + str(int(0)) + '''</span> &ensp; Human πŸ™‹ </p>'''
27
- # scroe_human = ''' # Human: ''' + str(int(0))
28
- # scroe_robot = ''' # Robot: ''' + str(int(0))
29
-
30
- # tooltip=["Role", "Scores"],
31
- return 0, 0, tot_scores
32
 
33
  def reset_modules():
34
  res_empty = {"original": "", "interpretation": []}
 
15
  def ret_nl():
16
  return 'nl'
17
 
18
+ # def reset_scores():
19
+ # data = pd.DataFrame(
20
+ # {
21
+ # "Role": ["AI πŸ€–", "HUMAN πŸ™‹"],
22
+ # "Scores": [0, 0],
23
+ # }
24
+ # )
25
+ # tot_scores_2 = ''' #### <p style="text-align: center;"> Today's Scores:</p>
26
+ # #### <p style="text-align: center;"> πŸ€– Machine &ensp; <span style="color: red;">''' + str(int(0)) + '''</span> &ensp; VS &ensp; <span style="color: red;">''' + str(int(0)) + '''</span> &ensp; Human πŸ™‹ </p>'''
27
+ # # scroe_human = ''' # Human: ''' + str(int(0))
28
+ # # scroe_robot = ''' # Robot: ''' + str(int(0))
29
+
30
+ # # tooltip=["Role", "Scores"],
31
+ # return 0, 0, tot_scores
32
 
33
  def reset_modules():
34
  res_empty = {"original": "", "interpretation": []}