Spaces:
Running
Running
aliasgerovs
commited on
Commit
•
25a20c0
1
Parent(s):
fd064b8
Update app.py
Browse files
app.py
CHANGED
@@ -287,8 +287,9 @@ def ai_generated_test(ai_option, input):
|
|
287 |
bc_score = {"AI": bc_score[1].item(), "HUMAN": bc_score[0].item()}
|
288 |
mc_score = {}
|
289 |
label_map = ["GPT 3.5", "GPT 4", "CLAUDE", "BARD", "LLAMA 2"]
|
|
|
290 |
for score, label in zip(mc_score_list, label_map):
|
291 |
-
mc_score[label.upper()] = score
|
292 |
|
293 |
sum_prob = 1 - bc_score["HUMAN"]
|
294 |
for key, value in mc_score.items():
|
|
|
287 |
bc_score = {"AI": bc_score[1].item(), "HUMAN": bc_score[0].item()}
|
288 |
mc_score = {}
|
289 |
label_map = ["GPT 3.5", "GPT 4", "CLAUDE", "BARD", "LLAMA 2"]
|
290 |
+
|
291 |
for score, label in zip(mc_score_list, label_map):
|
292 |
+
mc_score[label.upper()] = score
|
293 |
|
294 |
sum_prob = 1 - bc_score["HUMAN"]
|
295 |
for key, value in mc_score.items():
|