Update app.py
Browse files
app.py
CHANGED
@@ -191,12 +191,13 @@ def process_report(agent, file, messages: List[Dict[str, str]]) -> Tuple[List[Di
|
|
191 |
def create_ui(agent):
|
192 |
with gr.Blocks(css="""
|
193 |
html, body, .gradio-container {background: #0e1621; color: #e0e0e0;}
|
194 |
-
|
195 |
-
background:
|
196 |
border: none !important;
|
|
|
197 |
}
|
198 |
-
|
199 |
-
background:
|
200 |
}
|
201 |
""") as demo:
|
202 |
gr.Markdown("""
|
@@ -206,7 +207,7 @@ def create_ui(agent):
|
|
206 |
with gr.Column():
|
207 |
chatbot = gr.Chatbot(label="CPS Assistant", height=700, type="messages")
|
208 |
upload = gr.File(label="Upload Medical File", file_types=[".xlsx"])
|
209 |
-
analyze = gr.Button("🧠 Analyze", variant="primary")
|
210 |
download = gr.File(label="Download Report", visible=False, interactive=False)
|
211 |
|
212 |
state = gr.State(value=[])
|
|
|
191 |
def create_ui(agent):
|
192 |
with gr.Blocks(css="""
|
193 |
html, body, .gradio-container {background: #0e1621; color: #e0e0e0;}
|
194 |
+
button#component-2 {
|
195 |
+
background: #1e88e5 !important;
|
196 |
border: none !important;
|
197 |
+
color: white !important;
|
198 |
}
|
199 |
+
button#component-2:hover {
|
200 |
+
background: #1565c0 !important;
|
201 |
}
|
202 |
""") as demo:
|
203 |
gr.Markdown("""
|
|
|
207 |
with gr.Column():
|
208 |
chatbot = gr.Chatbot(label="CPS Assistant", height=700, type="messages")
|
209 |
upload = gr.File(label="Upload Medical File", file_types=[".xlsx"])
|
210 |
+
analyze = gr.Button("🧠 Analyze", variant="primary", elem_id="analyze-button")
|
211 |
download = gr.File(label="Download Report", visible=False, interactive=False)
|
212 |
|
213 |
state = gr.State(value=[])
|