Ali2206 commited on
Commit
a129415
·
verified ·
1 Parent(s): c535770

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -6
app.py CHANGED
@@ -184,7 +184,7 @@ def create_ui(agent):
184
  }
185
 
186
  .gr-button.primary {
187
- background-color: #1e88e5;
188
  color: white;
189
  font-weight: bold;
190
  border-radius: 8px;
@@ -193,7 +193,7 @@ def create_ui(agent):
193
  }
194
 
195
  .gr-button.primary:hover {
196
- background-color: #1565c0;
197
  }
198
 
199
  .gr-chatbot, .gr-markdown, .gr-file-upload {
@@ -220,10 +220,11 @@ def create_ui(agent):
220
  <h2>📄 CPS: Clinical Patient Support System</h2>
221
  <p>CPS Assistant helps you analyze and summarize unstructured medical files using AI.</p>
222
  """)
223
- with gr.Row():
224
- with gr.Column(scale=3):
225
- chatbot = gr.Chatbot(label="CPS Assistant", height=700, type="messages")
226
- with gr.Column(scale=1):
 
227
  upload = gr.File(label="Upload Medical File", file_types=[".xlsx"])
228
  analyze = gr.Button("🧠 Analyze", variant="primary")
229
  download = gr.File(label="Download Report", visible=False, interactive=False)
 
184
  }
185
 
186
  .gr-button.primary {
187
+ background-color: #007bff;
188
  color: white;
189
  font-weight: bold;
190
  border-radius: 8px;
 
193
  }
194
 
195
  .gr-button.primary:hover {
196
+ background-color: #0056b3;
197
  }
198
 
199
  .gr-chatbot, .gr-markdown, .gr-file-upload {
 
220
  <h2>📄 CPS: Clinical Patient Support System</h2>
221
  <p>CPS Assistant helps you analyze and summarize unstructured medical files using AI.</p>
222
  """)
223
+
224
+ with gr.Column():
225
+ chatbot = gr.Chatbot(label="CPS Assistant", height=700, type="messages")
226
+
227
+ with gr.Column():
228
  upload = gr.File(label="Upload Medical File", file_types=[".xlsx"])
229
  analyze = gr.Button("🧠 Analyze", variant="primary")
230
  download = gr.File(label="Download Report", visible=False, interactive=False)