Update app.py
Browse files
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=
|
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 |
|