text input and routing to py app