Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
|
|
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):
|