wuhp commited on
Commit
eb9443f
·
verified ·
1 Parent(s): 9f55a55

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -17
README.md CHANGED
@@ -8,24 +8,11 @@ sdk_version: 5.0.1
8
  python_version: 3.10.6
9
  app_file: app.py
10
 
11
- hf_oauth: true # ← enable built-in HF OAuth
12
- hf_oauth_expiration_minutes: 480 # ← optional: token lifetime (default 480)
13
  hf_oauth_scopes:
14
- - write-repos # ← allow creating/updating Spaces
15
- - manage-repos # ← allow setting repo metadata
16
 
17
  pinned: false
18
  ---
19
-
20
- 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).
21
-
22
- This Space scaffolds a complete Hugging Face Space app by:
23
- 1. Connecting to Google’s Gemini API to generate or update code.
24
- 2. Pushing snapshots to your HF Space repository.
25
- 3. Displaying live operation logs and an embedded preview.
26
- 4. Iteratively updating based on your chat instructions.
27
-
28
- To get started:
29
- - Click **Sign in with Hugging Face** at the top; you should see your username appear.
30
- - Enter your Gemini API key, HF username, and a new repo name.
31
- - Click **Start a new app**, then instruct the bot to scaffold features.
 
8
  python_version: 3.10.6
9
  app_file: app.py
10
 
11
+ hf_oauth: true
12
+ hf_oauth_expiration_minutes: 480
13
  hf_oauth_scopes:
14
+ - write-repos
15
+ - manage-repos
16
 
17
  pinned: false
18
  ---