from newspaper import Article import gradio as gr 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()