wlchee commited on
Commit
887cb27
·
verified ·
1 Parent(s): 70a5f9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py CHANGED
@@ -201,4 +201,18 @@ if __name__ == "__main__":
201
  print("-"*(60 + len(" App Starting ")) + "\n")
202
 
203
  print("Launching Gradio Interface for Basic Agent Evaluation...")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  demo.launch(debug=True, share=False)
 
201
  print("-"*(60 + len(" App Starting ")) + "\n")
202
 
203
  print("Launching Gradio Interface for Basic Agent Evaluation...")
204
+
205
+ agent = CodeAgent(
206
+ model=model,
207
+ tools=[final_answer], ## add your tools here (don't remove final answer)
208
+ max_steps=6,
209
+ verbosity_level=1,
210
+ grammar=None,
211
+ planning_interval=None,
212
+ name=None,
213
+ description=None,
214
+ prompt_templates=prompt_templates
215
+ )
216
+
217
+
218
  demo.launch(debug=True, share=False)