Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def update_table(category):
|
|
29 |
def get_user(profile: gr.OAuthProfile | None) -> str:
|
30 |
if profile is None:
|
31 |
return ""
|
32 |
-
return profile.username
|
33 |
|
34 |
|
35 |
def submit_vote(username, category, vote):
|
|
|
29 |
def get_user(profile: gr.OAuthProfile | None) -> str:
|
30 |
if profile is None:
|
31 |
return ""
|
32 |
+
return {profile.username}
|
33 |
|
34 |
|
35 |
def submit_vote(username, category, vote):
|