Spaces:
No application file
No application file
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
title: Gradio Oauth Test
|
| 2 |
+
emoji: 🏆
|
| 3 |
+
colorFrom: pink
|
| 4 |
+
colorTo: pink
|
| 5 |
+
sdk: gradio
|
| 6 |
+
sdk_version: 3.40.0
|
| 7 |
+
python_version: 3.10.6
|
| 8 |
+
app_file: app.py
|
| 9 |
+
|
| 10 |
+
hf_oauth: true
|
| 11 |
+
# optional, default duration is 8 hours/480 minutes. Max duration is 30 days/43200 minutes.
|
| 12 |
+
hf_oauth_expiration_minutes: 480
|
| 13 |
+
# optional, see "Scopes" below. "openid profile" is always included.
|
| 14 |
+
hf_oauth_scopes:
|
| 15 |
+
- read-repos
|
| 16 |
+
- write-repos
|
| 17 |
+
- manage-repos
|
| 18 |
+
- inference-api
|