Update app.py
Browse files
app.py
CHANGED
|
@@ -203,13 +203,7 @@ def respond(message, history: list[dict], username):
|
|
| 203 |
# launch ChatInterface
|
| 204 |
|
| 205 |
|
| 206 |
-
with gr.Blocks(
|
| 207 |
-
#chatbot-interface {
|
| 208 |
-
height: 100vh !important;
|
| 209 |
-
display: flex;
|
| 210 |
-
flex-direction: column;
|
| 211 |
-
}
|
| 212 |
-
""") as demo:
|
| 213 |
username = gr.State()
|
| 214 |
|
| 215 |
with gr.Column(visible=True) as login_container:
|
|
@@ -224,7 +218,6 @@ with gr.Blocks(css="""
|
|
| 224 |
description="Culturally Sensitive Chatbot for Muslim Women Wanting Mental Healthcare.\n\nWhat's on your mind?",
|
| 225 |
type="messages",
|
| 226 |
additional_inputs=[username],
|
| 227 |
-
elem_id="chatbot-interface",
|
| 228 |
)
|
| 229 |
|
| 230 |
def start_chatbot(name):
|
|
|
|
| 203 |
# launch ChatInterface
|
| 204 |
|
| 205 |
|
| 206 |
+
with gr.Blocks(fill_height=True) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 207 |
username = gr.State()
|
| 208 |
|
| 209 |
with gr.Column(visible=True) as login_container:
|
|
|
|
| 218 |
description="Culturally Sensitive Chatbot for Muslim Women Wanting Mental Healthcare.\n\nWhat's on your mind?",
|
| 219 |
type="messages",
|
| 220 |
additional_inputs=[username],
|
|
|
|
| 221 |
)
|
| 222 |
|
| 223 |
def start_chatbot(name):
|