File size: 199 Bytes
2ea8a4a
 
 
 
1
2
3
4
5
def print_gradio_info():
    """What version of Gradio is this. Runs the "gradio environment" command."""
    import subprocess
    print(subprocess.check_output(["gradio", "environment"]).decode())