Rasa-demo tutorial Step 4: join() argument must be str or bytes, not 'NoneType'

Solve?

Here is what I have done, I don’t use Docker command.

I use:

python -m rasa_nlu.train -c project/config_tf.yml --data project/data_nlu.md -o models --fixed_model_name nlu --project current --verbose

As you can see, I just remove the docker command.

And i update the testbot.py:

from rasa_nlu.model import Metadata, Interpreter
import json

def pprint(o):
 # small helper to make dict dumps a bit prettier
    print(json.dumps(o, indent=2))

# Change from "current" to "default"
interpreter = Interpreter.load('./models/default/nlu')
pprint(interpreter.parse(u"Cost of Blood Check"))

It works.

1 Like