mix hf.spaces (huggingface_client v0.1.0)

Copy Markdown View Source

List and manage HuggingFace Spaces.

$ mix hf.spaces
$ mix hf.spaces --author my-org --sdk gradio
$ mix hf.spaces --pause my-org/my-space
$ mix hf.spaces --restart my-org/my-space

Options

  • --author / -a — filter by author/org
  • --sdk — filter by SDK: gradio, streamlit, docker, static
  • --pause SPACE_ID — pause a Space
  • --restart SPACE_ID — restart a Space
  • --runtime SPACE_ID — show Space runtime info
  • --token — HF API token