About tease
This crate provides the ability to rapidly generate a GUI (a teaser) for a wide array of possible rust functions. It is intended to be used for prototyping interfaces for machine learning models. Inspired by gradio.
Usage
Running this code will produce a GUI for adding two numbers together
use ;
default
.with_title
.with_description
.with_inputs
.with_function
.run;
And it will look something like this:
But, you can also run more complex demos! Take a look at this example, for instance. It trains a smartcore machine learning model and then outputs a GUI for it!
The best part is that the compiled binary can be distributed as a standalone teaser of your model!