Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,14 +65,7 @@ def check_password(input_password):
|
|
65 |
else:
|
66 |
return gr.update(value="", interactive=True), gr.update(visible=False)
|
67 |
|
68 |
-
|
69 |
-
custom_css = """
|
70 |
-
#chat_interface .overflow-y-auto {
|
71 |
-
height: 600px;
|
72 |
-
}
|
73 |
-
"""
|
74 |
-
|
75 |
-
with gr.Blocks(css=custom_css) as demo:
|
76 |
with gr.Column():
|
77 |
password_input = gr.Textbox(
|
78 |
type="password", label="Enter Password", interactive=True
|
@@ -88,8 +81,8 @@ with gr.Blocks(css=custom_css) as demo:
|
|
88 |
)
|
89 |
chat = gr.ChatInterface(
|
90 |
respond,
|
91 |
-
|
92 |
-
|
93 |
)
|
94 |
|
95 |
with gr.Column():
|
|
|
65 |
else:
|
66 |
return gr.update(value="", interactive=True), gr.update(visible=False)
|
67 |
|
68 |
+
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
with gr.Column():
|
70 |
password_input = gr.Textbox(
|
71 |
type="password", label="Enter Password", interactive=True
|
|
|
81 |
)
|
82 |
chat = gr.ChatInterface(
|
83 |
respond,
|
84 |
+
chatbot=gr.Chatbot(height=600), # Set the desired height here
|
85 |
+
additional_inputs=[]
|
86 |
)
|
87 |
|
88 |
with gr.Column():
|