Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,11 +39,11 @@ def main_func(age,sex,cp,trtbps,chol,fbs,restecg,thalachh,exng,oldpeak,slp,caa,t
39
  # Create the UI
40
  title = "**Heart Attack Demo App** 🫀"
41
  description1 = """
42
- This app takes six inputs about employees' satisfaction with different aspects of their work (such as work-life balance, ...) and predicts whether the employee intends to stay with the employer or leave. There are two outputs from the app: 1- the predicted probability of stay or leave, 2- Shapley's force-plot which visualizes the extent to which each factor impacts the stay/ leave prediction.✨
43
  """
44
 
45
  description2 = """
46
- To use the app, click on one of the examples, or adjust the values of the six employee satisfaction factors, and click on Analyze. 🤞
47
  """
48
 
49
  with gr.Blocks(title=title) as demo:
 
39
  # Create the UI
40
  title = "**Heart Attack Demo App** 🫀"
41
  description1 = """
42
+ This app takes thirteen inputs from patients including age, sex, and many other questions that would be asked by a physician when analyzing a patients symptoms and possibility of a heart attack. There are two outputs from the app: 1- the predicted risk percentage of having a heart attack , 2- Shapley's force-plot which visualizes the extent to which each factor impacts the heart attack risk prediction.✨
43
  """
44
 
45
  description2 = """
46
+ To use the app, click on one of the examples, or adjust the values of the 13 factors, and click on Process. 🤞
47
  """
48
 
49
  with gr.Blocks(title=title) as demo: