PlanExe / src /huggingface_spaces /print_gradio_info.py
Simon Strandgaard
print_gradio_info() added
2ea8a4a
raw
history blame contribute delete
199 Bytes
def print_gradio_info():
"""What version of Gradio is this. Runs the "gradio environment" command."""
import subprocess
print(subprocess.check_output(["gradio", "environment"]).decode())