Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -231,6 +231,7 @@ h3{margin-top: 0}
|
|
231 |
"""
|
232 |
|
233 |
def swap_visibilty(profile: Union[gr.OAuthProfile, None]):
|
|
|
234 |
if is_spaces:
|
235 |
if profile is None:
|
236 |
return gr.update(elem_classes=["main_ui_logged_out"])
|
|
|
231 |
"""
|
232 |
|
233 |
def swap_visibilty(profile: Union[gr.OAuthProfile, None]):
|
234 |
+
print(profile)
|
235 |
if is_spaces:
|
236 |
if profile is None:
|
237 |
return gr.update(elem_classes=["main_ui_logged_out"])
|