Spaces:
Runtime error
Runtime error
debug
Browse files- user_history.py +2 -0
user_history.py
CHANGED
@@ -286,6 +286,8 @@ def _admin_section() -> None:
|
|
286 |
|
287 |
def _display_if_admin() -> Callable:
|
288 |
def _inner(profile: gr.OAuthProfile | None) -> str:
|
|
|
|
|
289 |
if profile is None:
|
290 |
return ""
|
291 |
if profile["preferred_username"] in _fetch_admins():
|
|
|
286 |
|
287 |
def _display_if_admin() -> Callable:
|
288 |
def _inner(profile: gr.OAuthProfile | None) -> str:
|
289 |
+
print(_admin_content())
|
290 |
+
|
291 |
if profile is None:
|
292 |
return ""
|
293 |
if profile["preferred_username"] in _fetch_admins():
|