juanxo90 commited on
Commit
7db874d
·
verified ·
1 Parent(s): b670886

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -17
app.py CHANGED
@@ -34,23 +34,6 @@ def get_current_time_in_timezone(timezone: str) -> str:
34
  except Exception as e:
35
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
36
 
37
- @tool
38
- def normal_distribution_array(mu:float, sigma:float):
39
- """A tool calculate a numpy array of a normal distribution using the mu and sigma.
40
- Args:
41
- mu: median of the normal distriburion.
42
- sigma: standard deviation of the normal distribution.
43
- """
44
- try:
45
- from numpy.random import normal
46
- s = normal(mu, sigma, 1000)
47
- return s
48
- except ImportError as e:
49
- raise ImportError(
50
- "You must install package `numpy` to run this tool."
51
- ) from e
52
-
53
-
54
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
55
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
56
 
 
34
  except Exception as e:
35
  return f"Error fetching time for timezone '{timezone}': {str(e)}"
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
38
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
39