POLRAMBORA commited on
Commit
5a754ac
·
verified ·
1 Parent(s): d1a2d46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -207,7 +207,7 @@ css="""
207
  with gr.Blocks(css=css) as demo:
208
 
209
 
210
- with gr.Column(visible=True) as auth_view:
211
  gr.Markdown("## P-MSQ Authorization")
212
  gr.Markdown("P-MSQ is in closed alpha test! The model, api and more are subject to change.")
213
  api_user_input = gr.Textbox(placeholder="snowflake", label="UserID", type='email')
@@ -302,9 +302,9 @@ with gr.Blocks(css=css) as demo:
302
  inputs=[api_key_input],
303
  outputs=[chatbot_output, history_state])
304
 
305
- with gr.Column(visible=False) as blacklist_view:
306
  gr.Markdown("## P-MSQ Authorization")
307
- gr.Markdown("Your linked ID appears to be blacklisted, and your API Key is pending on removal, if you believe this is a mistake, please try reaching us out.")
308
 
309
 
310
  def authorize_and_proceed(user, api_key):
 
207
  with gr.Blocks(css=css) as demo:
208
 
209
 
210
+ with gr.Column(visible=False) as auth_view:
211
  gr.Markdown("## P-MSQ Authorization")
212
  gr.Markdown("P-MSQ is in closed alpha test! The model, api and more are subject to change.")
213
  api_user_input = gr.Textbox(placeholder="snowflake", label="UserID", type='email')
 
302
  inputs=[api_key_input],
303
  outputs=[chatbot_output, history_state])
304
 
305
+ with gr.Column(visible=True) as blacklist_view:
306
  gr.Markdown("## P-MSQ Authorization")
307
+ gr.Markdown("P-MSQ Interface is under maintenance due to the technical difficulties, we're currently investigating the issue, stay tuned!")
308
 
309
 
310
  def authorize_and_proceed(user, api_key):