doncamilom commited on
Commit
f3e35a0
1 Parent(s): 22d0dea

add rxn4chem secret

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -48,9 +48,14 @@ st.markdown(
48
  agent = ChemCrow(
49
  model='gpt-4',
50
  temp=0.1,
51
- api_key=ss.get('api_key')
 
 
 
52
  ).agent_executor
53
 
 
 
54
  tools = agent.tools
55
 
56
  tool_list = pd.Series(
 
48
  agent = ChemCrow(
49
  model='gpt-4',
50
  temp=0.1,
51
+ openai_api_key=ss.get('api_key'),
52
+ api_keys={
53
+ 'rxn4chem':st.secrets['RXN4CHEM_API_KEY']
54
+ }
55
  ).agent_executor
56
 
57
+ print(st.secrets)
58
+
59
  tools = agent.tools
60
 
61
  tool_list = pd.Series(