Update app.py
Browse files
app.py
CHANGED
@@ -17,10 +17,10 @@ def predict_corrected_calcium(total_calcium, total_protein, albumin):
|
|
17 |
|
18 |
# Define the Gradio interface
|
19 |
interface = gr.Interface(fn=predict_corrected_calcium,
|
20 |
-
inputs=[gr.inputs.Number(label="Total Calcium
|
21 |
-
gr.inputs.Number(label="Total Protein
|
22 |
-
gr.inputs.Number(label="Albumin
|
23 |
-
outputs=gr.outputs.Textbox(label="Corrected Calcium in mg/dL")
|
24 |
-
title="RandomForestRegressor assisted Calcium Correction (RaCC)")
|
25 |
|
26 |
interface.launch()
|
|
|
17 |
|
18 |
# Define the Gradio interface
|
19 |
interface = gr.Interface(fn=predict_corrected_calcium,
|
20 |
+
inputs=[gr.inputs.Number(label="Total Calcium"),
|
21 |
+
gr.inputs.Number(label="Total Protein"),
|
22 |
+
gr.inputs.Number(label="Albumin")],
|
23 |
+
outputs=gr.outputs.Textbox(label="Corrected Calcium in mg/dL"),
|
24 |
+
title="RandomForestRegressor assisted Calcium Correction (RaCC)")
|
25 |
|
26 |
interface.launch()
|