How to enable the preview tab for a style transfer *.mlmodel?

A .mlmodel file that was created using the Turicreate library in python does not have a preview tab. But a .mlmodel file created using the CreateML app has a preview tab.

How do I enable the preview tab for a StyleTransfer model using the Turicreate library? 🤔

See the following for details...
https://gist.github.com/dkambam/4c50d90cf59f860c51456f36419dfc6c

The following link seems to hint that adding metadata might help
https://coremltools.readme.io/docs/introductory-quickstart#set-the-model-metadata

But I'm not sure what metadata needs to be set and how to set it. 😅

The requirements are that the model has one input and one output, and that both input and output are of image type.

The requirements are that the model has one input and one output, and that both input and output are of image type.

How to enable the preview tab for a style transfer *.mlmodel?
 
 
Q