Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def main():
|
|
24 |
bytes_received = network_usage.bytes_recv
|
25 |
mbps_sent = bytes_sent / (1024 * 1024)
|
26 |
mbps_received = bytes_received / (1024 * 1024)
|
27 |
-
|
28 |
|
29 |
if __name__ == "__main__":
|
30 |
main()
|
|
|
24 |
bytes_received = network_usage.bytes_recv
|
25 |
mbps_sent = bytes_sent / (1024 * 1024)
|
26 |
mbps_received = bytes_received / (1024 * 1024)
|
27 |
+
print(f"Network Usage: {mbps_sent} Mbps sent, {mbps_received} Mbps received")
|
28 |
|
29 |
if __name__ == "__main__":
|
30 |
main()
|