add package version string

This commit is contained in:
dawoodkhan82 2020-11-19 03:02:11 -05:00
parent 095f263fdf
commit c84a67544a

View File

@ -1 +1,5 @@
from gradio.interface import * # This makes it possible to import `Interface` as `gradio.Interface`.
import pkg_resources
current_pkg_version = pkg_resources.require("gradio")[0].version
__version__ = current_pkg_version