wuhp commited on
Commit
fde8881
·
verified ·
1 Parent(s): 6e851c0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -1
README.md CHANGED
@@ -6,10 +6,22 @@ colorTo: purple
6
  sdk: gradio
7
  sdk_version: 5.0.1
8
  hf_oauth: true # ← enable HF OAuth
 
 
 
9
  app_file: app.py
10
  pinned: false
11
  ---
12
 
 
13
 
 
 
 
 
 
14
 
15
- An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
 
 
 
 
6
  sdk: gradio
7
  sdk_version: 5.0.1
8
  hf_oauth: true # ← enable HF OAuth
9
+ hf_oauth_scopes:
10
+ - write-repos # ← allow creating/updating Spaces
11
+ - manage-repos # ← allow setting repo metadata
12
  app_file: app.py
13
  pinned: false
14
  ---
15
 
16
+ An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index).
17
 
18
+ This Space scaffolds a complete Hugging Face Space app by:
19
+ 1. Connecting to Google’s Gemini API to generate or update code.
20
+ 2. Pushing snapshots to your HF Space repository.
21
+ 3. Displaying live operation logs and an embedded preview.
22
+ 4. Iteratively updating based on your chat instructions.
23
 
24
+ To get started:
25
+ - Sign in via the **Login with Hugging Face** button.
26
+ - Enter your Gemini API key, HF username, and a new repo name.
27
+ - Click **Start a new app**, then instruct the bot to scaffold features.