Kkanittha commited on
Commit
4679bae
·
verified ·
1 Parent(s): 7d18851

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,7 +28,7 @@ class BasicAgent:
28
  temperature=0.2,
29
  )
30
 
31
- answer = llm("Who won the 2024 Olympic gold in swimming?")
32
  print(answer)
33
 
34
  # Add tools
@@ -40,7 +40,7 @@ class BasicAgent:
40
  result = tools.run(query)
41
  print("Search output:", result)
42
  except Exception as e:
43
- print("DuckDuckGoSearchTool error:", e)
44
 
45
 
46
  # Create smolagents CodeAgent
 
28
  temperature=0.2,
29
  )
30
 
31
+ '''answer = llm("Who won the 2024 Olympic gold in swimming?")
32
  print(answer)
33
 
34
  # Add tools
 
40
  result = tools.run(query)
41
  print("Search output:", result)
42
  except Exception as e:
43
+ print("DuckDuckGoSearchTool error:", e)'''
44
 
45
 
46
  # Create smolagents CodeAgent