Commit ·
5fdf6ee
1
Parent(s): dfbd5c9
check app
Browse files
app.py
CHANGED
|
@@ -134,9 +134,9 @@ def pre_load():
|
|
| 134 |
"""
|
| 135 |
Pre-load some element when loading app
|
| 136 |
"""
|
| 137 |
-
st.markdown("<h1 style='text-align: center; color:#
|
| 138 |
unsafe_allow_html=True)
|
| 139 |
-
st.markdown("<h3 style='text-align: center; color: #
|
| 140 |
unsafe_allow_html=True)
|
| 141 |
st.write()
|
| 142 |
st.write()
|
|
@@ -245,7 +245,7 @@ def get_prediction(loaded_model, class_index):
|
|
| 245 |
|
| 246 |
|
| 247 |
if __name__ == "__main__":
|
| 248 |
-
set_background("images/
|
| 249 |
loaded_model, class_index = pre_load()
|
| 250 |
get_prediction(loaded_model=loaded_model, class_index=class_index)
|
| 251 |
st.write("\n\n---\n\n")
|
|
|
|
| 134 |
"""
|
| 135 |
Pre-load some element when loading app
|
| 136 |
"""
|
| 137 |
+
st.markdown("<h1 style='text-align: center; color:#2b0833; font-family: cursive; padding: 20px; font-size: 40px; '>Abstract Skimming Tool</h1>",
|
| 138 |
unsafe_allow_html=True)
|
| 139 |
+
st.markdown("<h3 style='text-align: center; color: #000000; font-family: cursive; padding: 0px; margin: 20px; margin-bottom: 30px; font-size: 20px; '>A NLP model that enables researchers to skim PUDMED medical abstracts faster and extract better information.</h3>",
|
| 140 |
unsafe_allow_html=True)
|
| 141 |
st.write()
|
| 142 |
st.write()
|
|
|
|
| 245 |
|
| 246 |
|
| 247 |
if __name__ == "__main__":
|
| 248 |
+
set_background("images/bg10.png")
|
| 249 |
loaded_model, class_index = pre_load()
|
| 250 |
get_prediction(loaded_model=loaded_model, class_index=class_index)
|
| 251 |
st.write("\n\n---\n\n")
|