prozorov commited on
Commit
e1b4381
·
verified ·
1 Parent(s): d12e702

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -50,7 +50,7 @@ with open("prompts.yaml", 'r') as stream:
50
 
51
  agent = CodeAgent(
52
  model=model,
53
- tools=[final_answer, DuckDuckGoSearchTool(), json_string_to_poster], ## add your tools here (don't remove final answer)
54
  max_steps=6,
55
  verbosity_level=1,
56
  grammar=None,
@@ -64,12 +64,7 @@ agent = CodeAgent(
64
  #GradioUI(agent).launch()
65
 
66
  def get_and_visualize_data(query):
67
- print('Query: ' + query)
68
- # Запрос к агенту
69
  response = agent.run(query)
70
-
71
- print('Response: ' + response)
72
-
73
  return response
74
 
75
 
 
50
 
51
  agent = CodeAgent(
52
  model=model,
53
+ tools=[final_answer, DuckDuckGoSearchTool(), json_string_to_poster],
54
  max_steps=6,
55
  verbosity_level=1,
56
  grammar=None,
 
64
  #GradioUI(agent).launch()
65
 
66
  def get_and_visualize_data(query):
 
 
67
  response = agent.run(query)
 
 
 
68
  return response
69
 
70