Spaces:
Runtime error
Runtime error
ilhamstoked
commited on
Commit
•
89a5a49
1
Parent(s):
26c42c8
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import time
|
|
5 |
from tcp_latency import measure_latency
|
6 |
|
7 |
# Measure Latency
|
8 |
-
|
9 |
#35.201.127.49:443
|
10 |
#192.168.18.6:8501
|
11 |
|
@@ -90,7 +90,7 @@ def main():
|
|
90 |
for i in range(3):
|
91 |
st.write("%d. %s (%.2f%%)" % (i + 1, labels[top_3_indices[i]], probs[top_3_indices[i]] * 100))
|
92 |
|
93 |
-
latency = measure_latency(host='
|
94 |
st.write("Network Latency:")
|
95 |
st.write(latency[0])
|
96 |
|
|
|
5 |
from tcp_latency import measure_latency
|
6 |
|
7 |
# Measure Latency
|
8 |
+
#18.155.181.8
|
9 |
#35.201.127.49:443
|
10 |
#192.168.18.6:8501
|
11 |
|
|
|
90 |
for i in range(3):
|
91 |
st.write("%d. %s (%.2f%%)" % (i + 1, labels[top_3_indices[i]], probs[top_3_indices[i]] * 100))
|
92 |
|
93 |
+
latency = measure_latency(host='35.201.127.49', port=443)
|
94 |
st.write("Network Latency:")
|
95 |
st.write(latency[0])
|
96 |
|