Chris Addis commited on
Commit
be5eb70
·
1 Parent(s): 08f62d1
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -169,8 +169,8 @@ def create_demo():
169
  auth_state = gr.State(False)
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
 
 
169
  auth_state = gr.State(False)
170
 
171
  demo.load(check_authorization, inputs=None, outputs=[auth_state])
172
+ gr.Markdown(auth_state)
173
+ if auth_state is False:
174
  # free version - yeah baby
175
  login_button = gr.LoginButton()
176