Spaces:
Sleeping
Sleeping
Commit
·
f60ce93
1
Parent(s):
232c43f
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import numpy as np
|
2 |
import pandas as pd
|
3 |
import pickle
|
@@ -24,4 +25,14 @@ model = pickle.load(open('fitted_model.sav', 'rb'))
|
|
24 |
predictions = list(model.predict(data))
|
25 |
|
26 |
output = pd.Series(data=predictions, index=data.index, name="XGB_Score")
|
27 |
-
df_total = pd.concat([data, output], axis=1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
import numpy as np
|
3 |
import pandas as pd
|
4 |
import pickle
|
|
|
25 |
predictions = list(model.predict(data))
|
26 |
|
27 |
output = pd.Series(data=predictions, index=data.index, name="XGB_Score")
|
28 |
+
df_total = pd.concat([data, output], axis=1)
|
29 |
+
|
30 |
+
|
31 |
+
st.title('Blood Pressure Gene Prioritisation Post-Genome-wide Association Study')
|
32 |
+
st.markdown("""
|
33 |
+
A machine learning pipeline for predicting disease-causing genes post-genome-wide association study in blood pressure.
|
34 |
+
""")
|
35 |
+
|
36 |
+
st.sidebar.header('Input Gene')
|
37 |
+
sepal_length = st.text_input(
|
38 |
+
label='HGNC Gene Name')
|