DocSrvNyk commited on
Commit
6ba05f3
·
verified ·
1 Parent(s): 7909656

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -75,7 +75,7 @@ def create_logit_meter(prob):
75
  },
76
  },
77
  title={
78
- "text": f"Logit Risk Probability<br><span style='font-size:16px'>Threshold = {THRESHOLD:.3f}</span>",
79
  "font": {'size': 18}
80
  },
81
  domain={'x': [0, 1], 'y': [0, 1]}
@@ -85,7 +85,7 @@ def create_logit_meter(prob):
85
  height=240,
86
  paper_bgcolor="white",
87
  font=dict(family="Arial", size=16, color="black"),
88
- margin=dict(t=40, b=30, l=50, r=50)
89
  )
90
 
91
  return fig
@@ -143,8 +143,8 @@ demo = gr.Interface(
143
  gr.Text(label="Model Confidence"),
144
  gr.Textbox(label="Interpretation", lines=3)
145
  ],
146
- title="🧪 eGFR Risk Screening Tool (Elastic Net)",
147
- description="Enter Age, C3, and C4 levels to predict likelihood of renal complications based on validated logistic regression model."
148
  )
149
 
150
  demo.launch()
 
75
  },
76
  },
77
  title={
78
+ "text": f"Logit Risk Probability",
79
  "font": {'size': 18}
80
  },
81
  domain={'x': [0, 1], 'y': [0, 1]}
 
85
  height=240,
86
  paper_bgcolor="white",
87
  font=dict(family="Arial", size=16, color="black"),
88
+ margin=dict(t=40, b=30, l=10, r=10)
89
  )
90
 
91
  return fig
 
143
  gr.Text(label="Model Confidence"),
144
  gr.Textbox(label="Interpretation", lines=3)
145
  ],
146
+ title="🧪 Renal Complication Prediction Tool In Cases With Paediatric SLE",
147
+ description="Enter Age, C3, and C4 levels to Predict Probability of Future Renal Complication based on a validated dataset of Paeditric SLE dataset by robust Elastic Net Regression."
148
  )
149
 
150
  demo.launch()