hf-space-creator / README.md
Guillaume Raille
Initial commit
e138257 unverified

A newer version of the Gradio SDK is available: 5.42.0

Upgrade
metadata
title: HF Space Creator
emoji: πŸš€
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.34.0
app_file: app.py
pinned: false
hf_oauth: true
hf_oauth_scopes:
  - read-repos
  - write-repos
  - manage-repos

Hugging Face Space Creator

This is a simple Gradio app that allows Hugging Face users to login with OAuth and create private spaces.

Features

  • OAuth login using Hugging Face account
  • Create private spaces with a single click
  • Automatically sets up a basic Gradio app in the new space

How to Use

  1. Click the "Sign in with Hugging Face" button
  2. Authorize the application
  3. Enter a name for your new private space
  4. Click "Create Private Space"

Deployment

When deploying this Space, make sure:

  1. The hf_oauth: true is set in the README.md metadata
  2. The necessary OAuth scopes are configured (read-repos, write-repos, manage-repos)

Local Development

OAuth login only works when deployed to Hugging Face Spaces. For local testing, you'll need to deploy the app as a Space.