Update app.py
Browse files
app.py
CHANGED
@@ -418,8 +418,12 @@ def test():
|
|
418 |
this = f.readlines()
|
419 |
f.close()
|
420 |
for ea in this:
|
|
|
421 |
print(ea)
|
422 |
-
|
|
|
|
|
|
|
423 |
|
424 |
with gr.Blocks() as app:
|
425 |
file_state=gr.State()
|
|
|
418 |
this = f.readlines()
|
419 |
f.close()
|
420 |
for ea in this:
|
421 |
+
ea=ea.strip().strip("\n")
|
422 |
print(ea)
|
423 |
+
try:
|
424 |
+
a,b = sitemap(ea,None,8)
|
425 |
+
except Exception as e:
|
426 |
+
print e
|
427 |
|
428 |
with gr.Blocks() as app:
|
429 |
file_state=gr.State()
|