Spaces:
Running
Running
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -392,7 +392,7 @@ def generate_protocol(experiment_type, specific_params):
|
|
| 392 |
lab_context = {
|
| 393 |
"MCL": "Sylgard 184 PDMS 10:1 ratio 48hr cure. Tygon tubing. 70bpm 5L/min 80-120mmHg.",
|
| 394 |
"PIV": "Green laser 532nm time-resolved. Normal velocity 0.5-2.0 m/s. Shear below 5 Pa.",
|
| 395 |
-
"
|
| 396 |
"uPAD": "Whatman filter paper. Wax printer 120C. Picric acid alkaline solution. Jaffe reaction.",
|
| 397 |
"FSI": "COMSOL Multiphysics ALE mesh. Blood 1060 kg/m3 0.0035 Pa.s. SJM bileaflet geometry.",
|
| 398 |
}
|
|
@@ -775,10 +775,10 @@ with gr.Blocks(title="CardioLab AI - SJSU") as demo:
|
|
| 775 |
with gr.Row():
|
| 776 |
with gr.Column(scale=1):
|
| 777 |
proto_type = gr.Dropdown(
|
| 778 |
-
choices=["MCL Setup","PIV Experiment","
|
| 779 |
"uPAD Fabrication","uPAD Creatinine Test",
|
| 780 |
"FSI COMSOL Simulation","Valve Testing"],
|
| 781 |
-
value="
|
| 782 |
proto_params = gr.Textbox(placeholder="e.g. 27mm SJM valve 70bpm porcine blood",
|
| 783 |
label="Specific Parameters", lines=2)
|
| 784 |
proto_btn = gr.Button("Generate Protocol", variant="primary")
|
|
|
|
| 392 |
lab_context = {
|
| 393 |
"MCL": "Sylgard 184 PDMS 10:1 ratio 48hr cure. Tygon tubing. 70bpm 5L/min 80-120mmHg.",
|
| 394 |
"PIV": "Green laser 532nm time-resolved. Normal velocity 0.5-2.0 m/s. Shear below 5 Pa.",
|
| 395 |
+
"Thrombogenicity": "Arduino Uno stepper motor 48V. 150mL fresh blood. Sample at 0 20 40 60 min. Heska HT5. Measures TAT PF1.2 free hemoglobin platelets. TAT normal below 8 ng/mL. PF1.2 normal below 2.0 nmol/L.",
|
| 396 |
"uPAD": "Whatman filter paper. Wax printer 120C. Picric acid alkaline solution. Jaffe reaction.",
|
| 397 |
"FSI": "COMSOL Multiphysics ALE mesh. Blood 1060 kg/m3 0.0035 Pa.s. SJM bileaflet geometry.",
|
| 398 |
}
|
|
|
|
| 775 |
with gr.Row():
|
| 776 |
with gr.Column(scale=1):
|
| 777 |
proto_type = gr.Dropdown(
|
| 778 |
+
choices=["MCL Setup","PIV Experiment","Thrombogenicity Tester Blood Clotting Test",
|
| 779 |
"uPAD Fabrication","uPAD Creatinine Test",
|
| 780 |
"FSI COMSOL Simulation","Valve Testing"],
|
| 781 |
+
value="Thrombogenicity Tester Blood Clotting Test", label="Experiment Type")
|
| 782 |
proto_params = gr.Textbox(placeholder="e.g. 27mm SJM valve 70bpm porcine blood",
|
| 783 |
label="Specific Parameters", lines=2)
|
| 784 |
proto_btn = gr.Button("Generate Protocol", variant="primary")
|