gradio-app/gradio ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python library that makes it super easy to create a web UI for my Python functions. I want to use it mainly for demoing machine learning models I've built, so I can share them with people without them needing to install anything or run any code themselves.
The whole point is to avoid writing any frontend code like HTML or JavaScript. I should be able to define the entire interface — things like text inputs, sliders, or image upload boxes — directly within my Python script. I want to just wrap my prediction function, tell the library what components to use for its inputs and outputs, and then launch it.
It should start a local web server with the UI. The killer feature would be an option to instantly generate a temporary, public URL for my running app, so I can easily share a live demo with anyone just by sending them a link.
Are you gonna build this?
make sure you review the code using coderabbit