elomid commited on
Commit
ea0dd2d
·
1 Parent(s): dd910f0
Files changed (1) hide show
  1. app.py +0 -15
app.py CHANGED
@@ -16,20 +16,6 @@ load_dotenv(override=True)
16
  from Gradio_UI import GradioUI
17
 
18
 
19
- # Below is an example of a tool that does nothing. Amaze us with your creativity !
20
- @tool
21
- def my_custom_tool(
22
- arg1: str, arg2: int
23
- ) -> str: # it's import to specify the return type
24
- # Keep this format for the description / args / args description but feel free to modify the tool
25
- """A tool that does nothing yet
26
- Args:
27
- arg1: the first argument
28
- arg2: the second argument
29
- """
30
- return "What magic will you build ?"
31
-
32
-
33
  @tool
34
  def get_crypto_price(coin_name: str) -> str:
35
  """Get latest crypto price in usd for a given coin name
@@ -105,7 +91,6 @@ agent = CodeAgent(
105
  name=None,
106
  description=None,
107
  prompt_templates=prompt_templates,
108
- # authorized_imports=["requests", "random", "numpy", "pandas"],
109
  )
110
 
111
 
 
16
  from Gradio_UI import GradioUI
17
 
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  @tool
20
  def get_crypto_price(coin_name: str) -> str:
21
  """Get latest crypto price in usd for a given coin name
 
91
  name=None,
92
  description=None,
93
  prompt_templates=prompt_templates,
 
94
  )
95
 
96