Chris Addis commited on
Commit ·
08f62d1
1
Parent(s): 8d1e14e
OAuth
Browse files
app.py
CHANGED
|
@@ -170,7 +170,7 @@ def create_demo():
|
|
| 170 |
|
| 171 |
demo.load(check_authorization, inputs=None, outputs=[auth_state])
|
| 172 |
|
| 173 |
-
if
|
| 174 |
# free version - yeah baby
|
| 175 |
login_button = gr.LoginButton()
|
| 176 |
|
|
|
|
| 170 |
|
| 171 |
demo.load(check_authorization, inputs=None, outputs=[auth_state])
|
| 172 |
|
| 173 |
+
if auth_state == False:
|
| 174 |
# free version - yeah baby
|
| 175 |
login_button = gr.LoginButton()
|
| 176 |
|