Chris4K commited on
Commit
5274330
·
verified ·
1 Parent(s): 1aaa6d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -88,10 +88,11 @@ tool_checkboxes = [st.checkbox(f"Use {tool.name} --- {tool.description} ") for t
88
  #submit_button = st.button("Submit")
89
 
90
  # Initialize the agent
 
91
  agent = CustomHfAgent(
92
  url_endpoint="https://api-inference.huggingface.co/models/bigcode/starcoder",
93
  token=os.environ['HF_token'],
94
- additional_tools=selected_tools,
95
  input_params={"max_new_tokens": 192}, # Set the desired value
96
  )
97
 
 
88
  #submit_button = st.button("Submit")
89
 
90
  # Initialize the agent
91
+
92
  agent = CustomHfAgent(
93
  url_endpoint="https://api-inference.huggingface.co/models/bigcode/starcoder",
94
  token=os.environ['HF_token'],
95
+ additional_tools=[],
96
  input_params={"max_new_tokens": 192}, # Set the desired value
97
  )
98