Update app.py
Browse files
app.py
CHANGED
|
@@ -189,7 +189,16 @@ def process_report(agent, file, messages: List[Dict[str, str]]) -> Tuple[List[Di
|
|
| 189 |
return messages, None
|
| 190 |
|
| 191 |
def create_ui(agent):
|
| 192 |
-
with gr.Blocks(css="""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
gr.Markdown("""
|
| 194 |
<h2>📄 CPS: Clinical Patient Support System</h2>
|
| 195 |
<p>Analyze and summarize unstructured medical files using AI (optimized for A100 GPU).</p>
|
|
|
|
| 189 |
return messages, None
|
| 190 |
|
| 191 |
def create_ui(agent):
|
| 192 |
+
with gr.Blocks(css="""
|
| 193 |
+
html, body, .gradio-container {background: #0e1621; color: #e0e0e0;}
|
| 194 |
+
.gr-button-primary {
|
| 195 |
+
background: linear-gradient(to bottom, #1e88e5, #0d47a1) !important;
|
| 196 |
+
border: none !important;
|
| 197 |
+
}
|
| 198 |
+
.gr-button-primary:hover {
|
| 199 |
+
background: linear-gradient(to bottom, #2196f3, #1565c0) !important;
|
| 200 |
+
}
|
| 201 |
+
""") as demo:
|
| 202 |
gr.Markdown("""
|
| 203 |
<h2>📄 CPS: Clinical Patient Support System</h2>
|
| 204 |
<p>Analyze and summarize unstructured medical files using AI (optimized for A100 GPU).</p>
|