NameError: name 'text_summary' is not defined

File "c:\Users\User\Text-Summarizer-Streamlit-App\.venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 600, in _run_script
    exec(code, module.__dict__)File "C:\Users\User\Text-Summarizer-Streamlit-App\app.py", line 19, in <module>
    result = text_summary(input_text)
             ^^^^^^^^^^^^