Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -391,15 +391,19 @@ def clear_fn():
|
|
391 |
def itt(url):
|
392 |
out=[]
|
393 |
for i in range(0,100):
|
|
|
394 |
for d in range(0,100):
|
|
|
395 |
r = requests.get(f'{url}.{i}.{d}')
|
396 |
if r.status_code == 200:
|
397 |
out.append(f'{url}.{i}.{d}')
|
|
|
398 |
for p in range(0,100):
|
|
|
399 |
r = requests.get(f'{url}.{i}.{d}_{p}')
|
400 |
if r.status_code == 200:
|
401 |
out.append(f'{url}.{i}.{d}_{p}')
|
402 |
-
|
403 |
yield out
|
404 |
|
405 |
with gr.Blocks() as app:
|
|
|
391 |
def itt(url):
|
392 |
out=[]
|
393 |
for i in range(0,100):
|
394 |
+
print (i)
|
395 |
for d in range(0,100):
|
396 |
+
print (d)
|
397 |
r = requests.get(f'{url}.{i}.{d}')
|
398 |
if r.status_code == 200:
|
399 |
out.append(f'{url}.{i}.{d}')
|
400 |
+
yield out
|
401 |
for p in range(0,100):
|
402 |
+
print(p)
|
403 |
r = requests.get(f'{url}.{i}.{d}_{p}')
|
404 |
if r.status_code == 200:
|
405 |
out.append(f'{url}.{i}.{d}_{p}')
|
406 |
+
yield out
|
407 |
yield out
|
408 |
|
409 |
with gr.Blocks() as app:
|