Spaces:
Running
Running
Sync App files
Browse files- drug_app.py +3 -3
drug_app.py
CHANGED
|
@@ -9,9 +9,9 @@ def predict_drug(age, sex, blood_pressure, cholesterol, na_to_k_ratio):
|
|
| 9 |
|
| 10 |
Args:
|
| 11 |
age (int): Age of patient
|
| 12 |
-
sex (
|
| 13 |
-
blood_pressure (
|
| 14 |
-
cholesterol (
|
| 15 |
na_to_k_ratio (float): Ratio of sodium to potassium in blood
|
| 16 |
|
| 17 |
Returns:
|
|
|
|
| 9 |
|
| 10 |
Args:
|
| 11 |
age (int): Age of patient
|
| 12 |
+
sex (str): Sex of patient (F,M)
|
| 13 |
+
blood_pressure (str): Blood pressure level
|
| 14 |
+
cholesterol (str): Cholesterol level
|
| 15 |
na_to_k_ratio (float): Ratio of sodium to potassium in blood
|
| 16 |
|
| 17 |
Returns:
|