Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
160 |
|
161 |
agent = CodeAgent(
|
162 |
model=model,
|
163 |
-
tools=[final_answer,calculate_risk_metrics,get_current_time_in_timezone,visit_webpage,web_search], ## add your tools here (don't remove final answer)
|
164 |
max_steps=6,
|
165 |
verbosity_level=1,
|
166 |
grammar=None,
|
@@ -171,4 +171,4 @@ agent = CodeAgent(
|
|
171 |
)
|
172 |
|
173 |
|
174 |
-
GradioUI(agent).launch()
|
|
|
160 |
|
161 |
agent = CodeAgent(
|
162 |
model=model,
|
163 |
+
tools=[final_answer,calculate_risk_metrics,get_current_time_in_timezone,visit_webpage,web_search,provide_my_information], ## add your tools here (don't remove final answer)
|
164 |
max_steps=6,
|
165 |
verbosity_level=1,
|
166 |
grammar=None,
|
|
|
171 |
)
|
172 |
|
173 |
|
174 |
+
GradioUI(agent).launch(share=True)
|