PyPI version

fastgradio

fastgradio is a python library to quickly build and share gradio interfaces of your trained fastai models.

To use it simply

pip install fastgradio 

Then

from fastgradio import Demo 
Demo(learner).launch()

This will create an interface like the one below:

For more info on usage, check the example notebook

Note: We are working on expanding this to support all data types in fastai. Currently only supports image-to-label interfaces. PRs are welcome!

GitHub

https://github.com/aliabd/fastgradio