Update app.py
Browse files
app.py
CHANGED
@@ -310,7 +310,7 @@ def get_patient_conversation():
|
|
310 |
|
311 |
# --- Gradio App ---
|
312 |
|
313 |
-
with gr.Blocks(css=".gradio-container {height
|
314 |
gr.Markdown("<h2 style='text-align: center;'>Radiologist's Companion</h2>")
|
315 |
default_model = gr.State(model_choices[0])
|
316 |
|
@@ -330,7 +330,7 @@ with gr.Blocks(css=".gradio-container {height=100vh;}") as demo:
|
|
330 |
patient_notes = gr.Textbox(label="Clinical Notes", lines=10, interactive=False)
|
331 |
|
332 |
# Chat
|
333 |
-
with gr.Column(scale=
|
334 |
gr.Markdown("### Chat")
|
335 |
chatbot = gr.Chatbot(label="Chat", type="messages", height="auto")
|
336 |
msg = gr.Textbox(label="Your message", placeholder="Enter your chat message...", show_label=False)
|
|
|
310 |
|
311 |
# --- Gradio App ---
|
312 |
|
313 |
+
with gr.Blocks(css=".gradio-container {height: 100vh; width: 100% !important; margin: 10 !important; padding: 0 !important; overflow: hidden;}") as demo:
|
314 |
gr.Markdown("<h2 style='text-align: center;'>Radiologist's Companion</h2>")
|
315 |
default_model = gr.State(model_choices[0])
|
316 |
|
|
|
330 |
patient_notes = gr.Textbox(label="Clinical Notes", lines=10, interactive=False)
|
331 |
|
332 |
# Chat
|
333 |
+
with gr.Column(scale=3):
|
334 |
gr.Markdown("### Chat")
|
335 |
chatbot = gr.Chatbot(label="Chat", type="messages", height="auto")
|
336 |
msg = gr.Textbox(label="Your message", placeholder="Enter your chat message...", show_label=False)
|