VP21 commited on
Commit
f8e5773
·
verified ·
1 Parent(s): 0da49d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -22,9 +22,10 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
22
  def calculate_bandwidth(users: int, usage: dict) -> float:
23
  """
24
  Calculate the recommended internet speed based on user inputs.
25
- :param users: Number of users
26
- :param usage: Dictionary with usage categories and number of users per category
27
- :return: Recommended bandwidth in Mbps
 
28
  """
29
  usage_requirements = {
30
  "browsing": 1, # Mbps per user
 
22
  def calculate_bandwidth(users: int, usage: dict) -> float:
23
  """
24
  Calculate the recommended internet speed based on user inputs.
25
+
26
+ :param users: The total number of users requiring internet access.
27
+ :param usage: A dictionary with usage categories as keys and the number of users per category as values.
28
+ :return: Recommended bandwidth in Mbps to ensure smooth performance.
29
  """
30
  usage_requirements = {
31
  "browsing": 1, # Mbps per user