gokul-pv commited on
Commit
656838a
·
1 Parent(s): 2f7413a

fix in temp env var

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,7 +15,8 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
15
  class BasicAgent:
16
  def __init__(self):
17
  self.all_tools = build_tool()
18
- self.react_graph = build_langgraph(os.getenv("PROVIDER"), model=os.getenv("MODEL"), temperature=os.getenv("TEMPERATURE"), all_tools=self.all_tools)
 
19
  print("BasicAgent initialized.")
20
 
21
  def __call__(self, question: str) -> str:
 
15
  class BasicAgent:
16
  def __init__(self):
17
  self.all_tools = build_tool()
18
+ self.react_graph = build_langgraph(os.getenv("PROVIDER"), model=os.getenv("MODEL"),
19
+ temperature=float(os.getenv("TEMPERATURE")), all_tools=self.all_tools)
20
  print("BasicAgent initialized.")
21
 
22
  def __call__(self, question: str) -> str: