Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from Gradio_UI import GradioUI
|
|
| 12 |
@tool
|
| 13 |
def calculate_bandwidth(users: int, usage: Dict[str, int]) -> float:
|
| 14 |
"""Calculate the recommended internet speed based on user inputs.
|
| 15 |
-
|
| 16 |
Args:
|
| 17 |
users: The total number of users requiring internet access.
|
| 18 |
usage: A dictionary with usage categories as keys and the number of users per category as values.
|
|
|
|
| 12 |
@tool
|
| 13 |
def calculate_bandwidth(users: int, usage: Dict[str, int]) -> float:
|
| 14 |
"""Calculate the recommended internet speed based on user inputs.
|
| 15 |
+
Always make sure to apply overhead calculation to the bandwidth to get the total_bandwidth_with_overhead
|
| 16 |
Args:
|
| 17 |
users: The total number of users requiring internet access.
|
| 18 |
usage: A dictionary with usage categories as keys and the number of users per category as values.
|