Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -424,6 +424,7 @@ def itt(url):
|
|
424 |
break
|
425 |
if r.status_code == 200:
|
426 |
out.append(f'{url}.{i}.{d}.pdf')
|
|
|
427 |
yield out
|
428 |
for p in range(0,10):
|
429 |
print(p)
|
@@ -439,6 +440,7 @@ def itt(url):
|
|
439 |
break
|
440 |
if r1.status_code == 200:
|
441 |
out.append(f'{url}.{i}.{d}_{p}.pdf')
|
|
|
442 |
yield out
|
443 |
except Exception as e:
|
444 |
print (e)
|
|
|
424 |
break
|
425 |
if r.status_code == 200:
|
426 |
out.append(f'{url}.{i}.{d}.pdf')
|
427 |
+
hf_write(out)
|
428 |
yield out
|
429 |
for p in range(0,10):
|
430 |
print(p)
|
|
|
440 |
break
|
441 |
if r1.status_code == 200:
|
442 |
out.append(f'{url}.{i}.{d}_{p}.pdf')
|
443 |
+
hf_write(out)
|
444 |
yield out
|
445 |
except Exception as e:
|
446 |
print (e)
|