sean1 commited on
Commit
b2c7c29
·
1 Parent(s): d9e01bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -14,7 +14,8 @@ def load_data():
14
  def load_chain():
15
  """Logic for loading the chain you want to use should go here."""
16
  llm = Anthropic(temperature=0)
17
- chain = create_pandas_dataframe_agent(llm=llm, load_data())
 
18
  return chain
19
 
20
  def set_anthropic_api_key(api_key: str):
 
14
  def load_chain():
15
  """Logic for loading the chain you want to use should go here."""
16
  llm = Anthropic(temperature=0)
17
+ trans = load_data()
18
+ chain = create_pandas_dataframe_agent(llm, trans)
19
  return chain
20
 
21
  def set_anthropic_api_key(api_key: str):