Spaces:
Sleeping
Sleeping
Commit
·
8433386
1
Parent(s):
4c15c05
Update app.py
Browse files
app.py
CHANGED
@@ -115,6 +115,7 @@ def do_delete():
|
|
115 |
def do_ping():
|
116 |
url = 'https://open-ai-ping-eight.vercel.app/'
|
117 |
url1 = 'https://open-ai-ping-eight.vercel.app/1'
|
|
|
118 |
|
119 |
while True:
|
120 |
try:
|
@@ -122,6 +123,8 @@ def do_ping():
|
|
122 |
print("inside vercel ping ")
|
123 |
x = requests.get(url)
|
124 |
x = requests.get(url1)
|
|
|
|
|
125 |
time.sleep(60)
|
126 |
print("ping done")
|
127 |
except:
|
|
|
115 |
def do_ping():
|
116 |
url = 'https://open-ai-ping-eight.vercel.app/'
|
117 |
url1 = 'https://open-ai-ping-eight.vercel.app/1'
|
118 |
+
url2 = 'https://open-ai-ping-eight.vercel.app/2'
|
119 |
|
120 |
while True:
|
121 |
try:
|
|
|
123 |
print("inside vercel ping ")
|
124 |
x = requests.get(url)
|
125 |
x = requests.get(url1)
|
126 |
+
x = requests.get(url2)
|
127 |
+
|
128 |
time.sleep(60)
|
129 |
print("ping done")
|
130 |
except:
|