I have created a text summarizer based on a code I found on Github. I'm trying to have to script ask for the title for the text and ask for the actual text.
title = """ """content = """
As metro Atlanta's weather and road conditions continue to thaw after this week's snowstorm, MARTA is planning modified bus and Mobility (paratransit) service starting tomorrow, initially on 30 "life-line" routes. MARTA's rail service will continue operating on a weekend schedule on all lines.Bus and Mobility service will start at 7 a.m. Friday and run until 11:30 p.m. (See below for preliminary list of restored bus routes or visit MARTA's website: itsmarta.com.) The first round of bus routes being restored provide transit access to some of the region's major hospitals, job centers and commercial corridors. Customers may experience extended waits on some routes are asked to please allow extra time to complete their trips. Based on specific road and traffic conditions, more routes may be added throughout the day and real-time adjustments to the bus schedule are possible.MARTA rail service will begin for customers at 4:35 a.m. Friday and run until about 2 a.m. on Saturday. Customers should mostly expect wait times for trains ranging from 10 to 20 minutes – conditions permitting. Since some rail stations are open to the elements, customers are advised to dress accordingly."""
^ that's what I have in the code: where Title is, you input the title. content is the text the user would want summarized.
If you want a demo: you can go to http://runnable.com/Uv1foJAZ0BxuAABl/summerizer-for-python and click run.
How can i have the program ask for the title and the content?