Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
26 |
-
:param
|
27 |
-
:
|
|
|
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
|