Spaces:
Sleeping
Sleeping
Commit
·
b3bc292
1
Parent(s):
9d4109e
Huggingface auth test 3
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ user = ""
|
|
| 9 |
|
| 10 |
def get_username(profile: gr.OAuthProfile):
|
| 11 |
global user
|
| 12 |
-
user = profile.
|
| 13 |
-
return profile.
|
| 14 |
|
| 15 |
|
| 16 |
def save(df, video_id):
|
|
|
|
| 9 |
|
| 10 |
def get_username(profile: gr.OAuthProfile):
|
| 11 |
global user
|
| 12 |
+
user = profile.username
|
| 13 |
+
return profile.username
|
| 14 |
|
| 15 |
|
| 16 |
def save(df, video_id):
|