rasa.nlu.model.InvalidModelError: Failed to load model metadata from

I am trying to run the below code but getting error

async def run(serve_forever=True):
    interpreter = RasaNLUInterpreter('./models/nlu')
    agent = Agent.load('./models/core', interpreter=interpreter)

    if serve_forever:
        agent.handle_channel(CmdlineInput())
    return agent


if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    loop.run_until_complete(run())
"Failed to load model metadata from '{}'. {}".format(abspath, e)
rasa.nlu.model.InvalidModelError: Failed to load model metadata from '/home/nikita/Documents/projects/RasaChatBot/RasaDemo/models/nlu/nlu-20190822-005028.tar.gz/metadata.json'. [Errno 20] Not a directory: './models/nlu/nlu-20190822-005028.tar.gz/metadata.json'

RasaNLUInterpreter expects an unzipped model directory. Th Agent on the other hand can handle both, zipped and unzipped model files. Try the following:

from rasa.model import get_model_subdirectories, get_model

async def run(serve_forever=True):
    model_path = get_model('./models/nlu')
    _, nlu_model = get_model_subdirectories(model_path)
    interpreter = RasaNLUInterpreter(nlu_model)
    agent = Agent.load('./models/core', interpreter=interpreter)

    if serve_forever:
        agent.handle_channel(CmdlineInput())
    return agent


if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    loop.run_until_complete(run())

hi, how can I load model in RASA 3.x verion?