muskan singh commited on
Commit
ae350b5
·
1 Parent(s): 1fec525

inference fix

Browse files
Files changed (2) hide show
  1. baseline_scores.json +4 -4
  2. inference.py +2 -1
baseline_scores.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "scores": {
3
- "task1": 0.99,
4
- "task2": 0.99,
5
- "task3": 0.99
6
  },
7
- "average": 0.99
8
  }
 
1
  {
2
  "scores": {
3
+ "workflow_A": 0.7,
4
+ "workflow_B": 0.563,
5
+ "workflow_C": 0.625
6
  },
7
+ "average": 0.6293
8
  }
inference.py CHANGED
@@ -23,7 +23,8 @@ from typing import AsyncGenerator, Dict, List, Optional
23
 
24
  import httpx
25
  from openai import OpenAI
26
-
 
27
  # ------------------------------------------------------------------
28
  # Config
29
  # ------------------------------------------------------------------
 
23
 
24
  import httpx
25
  from openai import OpenAI
26
+ from dotenv import load_dotenv
27
+ load_dotenv()
28
  # ------------------------------------------------------------------
29
  # Config
30
  # ------------------------------------------------------------------