qgao007 commited on
Commit
4c8f75b
1 Parent(s): 20fd149

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -10
app.py CHANGED
@@ -21,14 +21,16 @@ print("Your Computer IP Address is:"+IPAddr)
21
 
22
  url = "https://146.152.226.61:443"
23
 
24
- subprocess.run(["curl", "ipinfo.io"])
25
-
26
- resp1 = requests.get("http://3.231.107.102")
27
- print(resp1.status_code)
28
- print(resp1.text)
29
-
30
- resp2 = requests.get(url)
31
-
32
- print(resp2.status_code)
33
- print(resp2.text)
 
 
34
  # one more
 
21
 
22
  url = "https://146.152.226.61:443"
23
 
24
+ # subprocess.run(["curl", "ipinfo.io"])
25
+
26
+ while True:
27
+
28
+ resp1 = requests.get("http://3.231.107.102")
29
+ print(resp1.status_code)
30
+ print(resp1.text)
31
+
32
+ resp2 = requests.get(url)
33
+
34
+ print(resp2.status_code)
35
+ print(resp2.text)
36
  # one more