aliasgerovs commited on
Commit
cb05d75
·
1 Parent(s): 25a20c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
app.py CHANGED
@@ -283,10 +283,14 @@ def ai_generated_test(ai_option, input):
283
  average_mc_scores = np.mean(mc_scores_array, axis=0)
284
  bc_score_list = average_bc_scores.tolist()
285
  mc_score_list = average_mc_scores.tolist()
 
 
 
 
286
 
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
@@ -466,7 +470,7 @@ with gr.Blocks() as demo:
466
  d1 = today.strftime("%d/%B/%Y")
467
  d1 = d1.split("/")
468
 
469
- model_list = ["GPT 3.5", "GPT 4", "CLAUDE", "BARD", "LLAMA2"]
470
  domain_list = ["com", "org", "net", "int", "edu", "gov", "mil"]
471
  gr.Markdown(
472
  """
 
283
  average_mc_scores = np.mean(mc_scores_array, axis=0)
284
  bc_score_list = average_bc_scores.tolist()
285
  mc_score_list = average_mc_scores.tolist()
286
+
287
+ # Temporary
288
+ mc_score_list[1] = mc_score_list[0] + mc_score_list[1]
289
+ mc_score_list = mc_score_list[1:]
290
 
291
  bc_score = {"AI": bc_score[1].item(), "HUMAN": bc_score[0].item()}
292
  mc_score = {}
293
+ label_map = ["Open AI GPT", "CLAUDE", "BARD", "LLAMA 2"]
294
 
295
  for score, label in zip(mc_score_list, label_map):
296
  mc_score[label.upper()] = score
 
470
  d1 = today.strftime("%d/%B/%Y")
471
  d1 = d1.split("/")
472
 
473
+ model_list = ["Open AI GPT", "CLAUDE", "BARD", "LLAMA2"]
474
  domain_list = ["com", "org", "net", "int", "edu", "gov", "mil"]
475
  gr.Markdown(
476
  """