Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -92,7 +92,7 @@ def respond(albumin, creatinine, glucose, crp, mcv, rdw, alp, wbc, lymphocytes,
|
|
| 92 |
f"- WBC: {wbc} x10^3/渭L\n"
|
| 93 |
f"- Lymphocytes: {lymphocytes} %\n"
|
| 94 |
f"- Hemoglobin: {hemoglobin} g/dL\n"
|
| 95 |
-
f"- Plasma
|
| 96 |
)
|
| 97 |
|
| 98 |
# ----- Generate AI Response -----
|
|
@@ -128,7 +128,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 128 |
wbc = gr.Textbox(label="WBC (10^3/渭L)", value="10.5")
|
| 129 |
lymphocytes = gr.Textbox(label="Lymphocytes (%)", value="38")
|
| 130 |
hemoglobin = gr.Textbox(label="Hemoglobin (g/dL)", value="13.5")
|
| 131 |
-
pv = gr.Textbox(label="Plasma
|
| 132 |
|
| 133 |
with gr.Column():
|
| 134 |
age = gr.Textbox(label="Age (years)", value="30")
|
|
|
|
| 92 |
f"- WBC: {wbc} x10^3/渭L\n"
|
| 93 |
f"- Lymphocytes: {lymphocytes} %\n"
|
| 94 |
f"- Hemoglobin: {hemoglobin} g/dL\n"
|
| 95 |
+
f"- Plasma(PV) (ML): {pv} ML"
|
| 96 |
)
|
| 97 |
|
| 98 |
# ----- Generate AI Response -----
|
|
|
|
| 128 |
wbc = gr.Textbox(label="WBC (10^3/渭L)", value="10.5")
|
| 129 |
lymphocytes = gr.Textbox(label="Lymphocytes (%)", value="38")
|
| 130 |
hemoglobin = gr.Textbox(label="Hemoglobin (g/dL)", value="13.5")
|
| 131 |
+
pv = gr.Textbox(label="Plasma(PV) (ML)", value="1.7")
|
| 132 |
|
| 133 |
with gr.Column():
|
| 134 |
age = gr.Textbox(label="Age (years)", value="30")
|