Spaces:
Paused
Paused
auth
Browse files
README.md
CHANGED
|
@@ -9,4 +9,15 @@ app_file: app.py
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
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).
|
|
|
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
hf_oauth: true
|
| 13 |
+
# optional, default duration is 8 hours/480 minutes. Max duration is 30 days/43200 minutes.
|
| 14 |
+
hf_oauth_expiration_minutes: 480
|
| 15 |
+
# optional, see "Scopes" below. "openid profile" is always included.
|
| 16 |
+
hf_oauth_scopes:
|
| 17 |
+
- read-repos
|
| 18 |
+
- write-repos
|
| 19 |
+
- manage-repos
|
| 20 |
+
- inference-api
|
| 21 |
+
|
| 22 |
+
|
| 23 |
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).
|