raghuv-aditya commited on
Commit
a37df12
·
verified ·
1 Parent(s): 6802189

Update Agents/rankerAgent.py

Browse files
Files changed (1) hide show
  1. Agents/rankerAgent.py +2 -2
Agents/rankerAgent.py CHANGED
@@ -81,8 +81,8 @@ Just Output the best_answer from above JSON and nothing else.
81
 
82
  def rankerAgent(prompt, config_file='config.json', model="meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"):
83
  # Load API key from configuration file
84
- with open(config_file, 'r') as file:
85
- config = json.load(file)
86
 
87
  together_ai_key = config.get("TOGETHER_AI")
88
  if not together_ai_key:
 
81
 
82
  def rankerAgent(prompt, config_file='config.json', model="meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo"):
83
  # Load API key from configuration file
84
+ # with open(config_file, 'r') as file:
85
+ # config = json.load(file)
86
 
87
  together_ai_key = config.get("TOGETHER_AI")
88
  if not together_ai_key: