Raffaele Terribile commited on
Commit
2f5d748
·
unverified ·
1 Parent(s): 5f2f1bb

Modifica parametri modello

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import requests
4
  import inspect
5
  import pandas as pd
6
 
7
- from smolagents import CodeAgent, InferenceClientModel, VisitWebpageTool, PythonInterpreterTool, WebSearchTool, WikipediaSearchTool, FinalAnswerTool, Tool, tool # GoogleSearchTool, DuckDuckGoSearchTool (SERPAPI_API_KEY)
8
 
9
  # (Keep Constants as is)
10
  # --- Constants ---
@@ -38,7 +38,6 @@ class FirstAgent:
38
  FinalAnswerTool,
39
  Tool(name="invert_sentence", func=invert_sentence, description="Inverts the order of characters in a sentence.")
40
  ],
41
- debug=True,
42
  max_iterations=10,
43
  max_tokens=1000,
44
  temperature=0.7
 
4
  import inspect
5
  import pandas as pd
6
 
7
+ from smolagents import CodeAgent, InferenceClientModel, VisitWebpageTool, PythonInterpreterTool, WebSearchTool, WikipediaSearchTool, FinalAnswerTool, Tool, tool # GoogleSearchTool (usa SERPAPI_API_KEY), DuckDuckGoSearchTool
8
 
9
  # (Keep Constants as is)
10
  # --- Constants ---
 
38
  FinalAnswerTool,
39
  Tool(name="invert_sentence", func=invert_sentence, description="Inverts the order of characters in a sentence.")
40
  ],
 
41
  max_iterations=10,
42
  max_tokens=1000,
43
  temperature=0.7