Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,20 +15,20 @@ def ret_en():
|
|
15 |
def ret_nl():
|
16 |
return 'nl'
|
17 |
|
18 |
-
def reset_scores():
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
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   <span style="color: red;">''' + str(int(0)) + '''</span>   VS   <span style="color: red;">''' + str(int(0)) + '''</span>   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": []}
|