Update app.py
Browse files
app.py
CHANGED
@@ -334,7 +334,7 @@ def generate_abstractive_summary(text, type, min_len=120, max_len=512, **kwargs)
|
|
334 |
return summary
|
335 |
|
336 |
def clean_text(text,doc=False,plain_text=False,url=False):
|
337 |
-
"""Return clean text from the various input sources"""
|
338 |
|
339 |
if url:
|
340 |
is_url = validators.url(text)
|
|
|
334 |
return summary
|
335 |
|
336 |
def clean_text(text,doc=False,plain_text=False,url=False):
|
337 |
+
"""Return clean text from the various input sources"""
|
338 |
|
339 |
if url:
|
340 |
is_url = validators.url(text)
|