✅ Works in Interactive Notebook

Category: Deploy.

Get user input.

Inputs let you accept image or text input from a user.

Inputs are used as part of VisionScript Cloud, a method through which you can deploy code to an API or a HTML web page that you can share with others.

If a script contains an Input[], it cannot be executed as a VisionScript script from the command line or a notebook environment. We recommend adding Input[] when you have already written the logic for your program and are ready to share it with the world.


Input["Form Name"]



The following example asks a user to provide an imagei and will classify whether the image is a cat or a dog. The text response is then displayed.

Classify["cat", "dog"]

See Also

Made with ❤️ by capjamesg