File size: 1,029 Bytes
e138257
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
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.