RVikas commited on
Commit
598e822
·
verified ·
1 Parent(s): fc41be9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ CATEGORIES = ["Writing", "Roleplay", "Reasoning", "Math", "Coding", "Extraction"
11
  def get_model_df():
12
  q2result = []
13
  # Replace "gpt-4_single.jsonl" with the actual path to your JSONL file
14
- with open("gpt-4_single.jsonl", "r") as fin:
15
  for line in fin:
16
  obj = json.loads(line)
17
  obj["category"] = CATEGORIES[(obj["question_id"] - 81) // 10]
 
11
  def get_model_df():
12
  q2result = []
13
  # Replace "gpt-4_single.jsonl" with the actual path to your JSONL file
14
+ with open("data/gpt-4_single.jsonl", "r") as fin:
15
  for line in fin:
16
  obj = json.loads(line)
17
  obj["category"] = CATEGORIES[(obj["question_id"] - 81) // 10]