Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ title = """<h1 align="center">Response simulator</h1>"""
|
|
90 |
with gr.Blocks() as demo:
|
91 |
gr.HTML(title)
|
92 |
with gr.Column(elem_id="col_container"):
|
93 |
-
password_input = gr.Password(label="Enter password to access the app")
|
94 |
if check_password(password_input):
|
95 |
chatbot = gr.Chatbot(label='GPT-4', elem_id="chatbot")
|
96 |
inputs = gr.Textbox(placeholder="", label="Type an input and press Enter")
|
|
|
90 |
with gr.Blocks() as demo:
|
91 |
gr.HTML(title)
|
92 |
with gr.Column(elem_id="col_container"):
|
93 |
+
password_input = gr.inputs.Password(label="Enter password to access the app")
|
94 |
if check_password(password_input):
|
95 |
chatbot = gr.Chatbot(label='GPT-4', elem_id="chatbot")
|
96 |
inputs = gr.Textbox(placeholder="", label="Type an input and press Enter")
|