Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -207,7 +207,7 @@ css="""
|
|
207 |
with gr.Blocks(css=css) as demo:
|
208 |
|
209 |
|
210 |
-
with gr.Column(visible=
|
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=
|
306 |
gr.Markdown("## P-MSQ Authorization")
|
307 |
-
gr.Markdown("
|
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):
|