Spaces:
Runtime error
Runtime error
Commit
Β·
3aeb154
1
Parent(s):
26fc041
temp show login button always
Browse files
app.py
CHANGED
|
@@ -154,7 +154,8 @@ def gate_submission(profile: gr.OAuthProfile | None):
|
|
| 154 |
"""
|
| 155 |
if profile is None:
|
| 156 |
return gr.update(visible=True), gr.update(visible=False)
|
| 157 |
-
return gr.update(visible=False), gr.update(visible=True)
|
|
|
|
| 158 |
|
| 159 |
|
| 160 |
def get_theme():
|
|
|
|
| 154 |
"""
|
| 155 |
if profile is None:
|
| 156 |
return gr.update(visible=True), gr.update(visible=False)
|
| 157 |
+
# return gr.update(visible=False), gr.update(visible=True)
|
| 158 |
+
return gr.update(visible=True), gr.update(visible=True)
|
| 159 |
|
| 160 |
|
| 161 |
def get_theme():
|