Spaces:
Runtime error
Runtime error
Commit
·
d9417ab
1
Parent(s):
df591a9
"Share True"
Browse files
app.py
CHANGED
@@ -64,9 +64,9 @@ app = gr.Interface(fn=heart_disease, inputs=[
|
|
64 |
("Reversible Defect", 7)
|
65 |
], label="Thalassemia")
|
66 |
], outputs=outputs, examples=examples,title="Heart Disease Prediction",description='''
|
67 |
-
|
68 |
|
69 |
-
|
70 |
sex: The patient's gender (1 = male, 0 = female).
|
71 |
cp: Chest pain type (0 = typical angina, 1 = atypical angina, 2 = non-anginal pain, 3 = asymptomatic).
|
72 |
trestbps: Resting blood pressure (in mm Hg) on admission to the hospital.
|
@@ -81,5 +81,5 @@ ca: Number of major vessels (0-3) colored by fluoroscopy.
|
|
81 |
thal: A blood disorder called thalassemia (3 = normal, 6 = fixed defect, 7 = reversible defect). ''')
|
82 |
|
83 |
|
84 |
-
app.launch()
|
85 |
|
|
|
64 |
("Reversible Defect", 7)
|
65 |
], label="Thalassemia")
|
66 |
], outputs=outputs, examples=examples,title="Heart Disease Prediction",description='''
|
67 |
+
This model predicts the presence of heart disease based on various input parameters. Please enter the values for the following inputs:
|
68 |
|
69 |
+
Description about the inputs. age: The age of the patient in years.
|
70 |
sex: The patient's gender (1 = male, 0 = female).
|
71 |
cp: Chest pain type (0 = typical angina, 1 = atypical angina, 2 = non-anginal pain, 3 = asymptomatic).
|
72 |
trestbps: Resting blood pressure (in mm Hg) on admission to the hospital.
|
|
|
81 |
thal: A blood disorder called thalassemia (3 = normal, 6 = fixed defect, 7 = reversible defect). ''')
|
82 |
|
83 |
|
84 |
+
app.launch(share=True)
|
85 |
|