I am getting 'module' object is not callable while trying to run Ollama LLama2 from VS code

TypeError: ‘module’ object is not callable

Traceback:

File "H:\Steam\Anaconda\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in _run_script
    exec(code, module.__dict__)File "E:\python llm\Localama.py", line 24, in <module>
    LLM=ollama(model="llama2")
        ^^^^^^^^^^^^^^^^^^^^^^

I am running the code locally using VS code, i have ollama installed with llama2 already pulled.