read_it_later / app.py
sblumenf's picture
Create app.py
0277381
raw history blame
No virus
270 Bytes
from newspaper import Article
def read_later(url):
article = Article(url)
article.download()
article.parse()
return article.text
app = gr.Interface(fn=read_later, inputs=gr.inputs.Textbox(placeholder="Enter URL"), outputs=gr.outputs.Text)
app.launch()