Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ def login(username, password):
|
|
| 60 |
return gr.update(visible=False), gr.update(visible=True), "", "β Invalid credentials."
|
| 61 |
|
| 62 |
with gr.Blocks() as demo:
|
| 63 |
-
gr.Markdown("# π Secure
|
| 64 |
|
| 65 |
with gr.Group(visible=True) as login_box:
|
| 66 |
gr.Markdown("### Login to access the chatbot")
|
|
@@ -70,7 +70,7 @@ with gr.Blocks() as demo:
|
|
| 70 |
login_message = gr.Markdown("")
|
| 71 |
|
| 72 |
with gr.Group(visible=False) as chat_box:
|
| 73 |
-
gr.Markdown("## π Ask questions
|
| 74 |
query_input = gr.Textbox(label="Question", lines=2, placeholder="Type your question here...")
|
| 75 |
submit_button = gr.Button("Submit")
|
| 76 |
output = gr.Markdown()
|
|
|
|
| 60 |
return gr.update(visible=False), gr.update(visible=True), "", "β Invalid credentials."
|
| 61 |
|
| 62 |
with gr.Blocks() as demo:
|
| 63 |
+
gr.Markdown("# π Secure Chatbot")
|
| 64 |
|
| 65 |
with gr.Group(visible=True) as login_box:
|
| 66 |
gr.Markdown("### Login to access the chatbot")
|
|
|
|
| 70 |
login_message = gr.Markdown("")
|
| 71 |
|
| 72 |
with gr.Group(visible=False) as chat_box:
|
| 73 |
+
gr.Markdown("## π Ask questions ")
|
| 74 |
query_input = gr.Textbox(label="Question", lines=2, placeholder="Type your question here...")
|
| 75 |
submit_button = gr.Button("Submit")
|
| 76 |
output = gr.Markdown()
|