Spaces:
Sleeping
Sleeping
changes to UI text
Browse files- app.py +12 -12
- images/pipeline.png +0 -0
app.py
CHANGED
@@ -47,32 +47,32 @@ def main():
|
|
47 |
st.session_state['df'] = None
|
48 |
|
49 |
# Main Streamlit app
|
50 |
-
st.title('
|
51 |
|
52 |
# Sidebar (filters)
|
53 |
with st.sidebar:
|
54 |
with st.expander("ℹ️ - Instructions", expanded=False):
|
55 |
st.markdown(
|
56 |
"""
|
57 |
-
1. **Download the Excel Template file (below)
|
58 |
-
2. **[OPTIONAL]: Select the desired filtering sensitivity level (below)
|
59 |
-
3. **Copy/paste the requisite application data in the template file. Best practice is to 'paste as values'
|
60 |
-
4. **Upload the template file in the area to the right (or click browse files)
|
|
|
61 |
|
62 |
-
The tool will
|
63 |
-
depending on the number of applications and the length of text in each. For example, a file with
|
64 |
-
could be expected to take approximately
|
65 |
|
66 |
***NOTE (1)** - you can also simply rename the column headers in your own file. The headers must match the column names in the template for the tool to run properly.*
|
67 |
|
68 |
-
***NOTE (2)** - as of April 2024 this app running as a **test version**, NOT on a GPU. So the process can take up to 30 minutes for 20 applications.*
|
69 |
"""
|
70 |
)
|
71 |
# Excel file download
|
72 |
st.download_button(
|
73 |
label="Download Excel Template",
|
74 |
data=create_excel(),
|
75 |
-
file_name="
|
76 |
mime="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
77 |
)
|
78 |
|
@@ -99,7 +99,7 @@ def main():
|
|
99 |
with st.expander("ℹ️ - About this app", expanded=False):
|
100 |
st.write(
|
101 |
"""
|
102 |
-
This tool provides an interface for running an automated preliminary assessment of applications
|
103 |
|
104 |
The tool functions by running selected text fields from the application through a series of LLMs fine-tuned for text classification (ref. diagram below).
|
105 |
The resulting output classifications are used to compute a score and a suggested pre-filtering action. The tool has been tested against
|
@@ -108,7 +108,7 @@ def main():
|
|
108 |
""")
|
109 |
st.image('images/pipeline.png')
|
110 |
|
111 |
-
uploaded_file = st.file_uploader("Select a file containing
|
112 |
|
113 |
# Add session state variables if they don't exist
|
114 |
if 'show_button' not in st.session_state:
|
|
|
47 |
st.session_state['df'] = None
|
48 |
|
49 |
# Main Streamlit app
|
50 |
+
st.title('Application Pre-Filtering Tool')
|
51 |
|
52 |
# Sidebar (filters)
|
53 |
with st.sidebar:
|
54 |
with st.expander("ℹ️ - Instructions", expanded=False):
|
55 |
st.markdown(
|
56 |
"""
|
57 |
+
1. **Download the Excel Template file (below)**
|
58 |
+
2. **[OPTIONAL]: Select the desired filtering sensitivity level (below)**
|
59 |
+
3. **Copy/paste the requisite application data in the template file. Best practice is to 'paste as values'**
|
60 |
+
4. **Upload the template file in the area to the right (or click browse files)**
|
61 |
+
5. **Click 'Start Analysis'**
|
62 |
|
63 |
+
The tool will start processing the uploaded application data. This can take some time
|
64 |
+
depending on the number of applications and the length of text in each. For example, a file with 1000 applications
|
65 |
+
could be expected to take approximately 5 minutes.
|
66 |
|
67 |
***NOTE (1)** - you can also simply rename the column headers in your own file. The headers must match the column names in the template for the tool to run properly.*
|
68 |
|
|
|
69 |
"""
|
70 |
)
|
71 |
# Excel file download
|
72 |
st.download_button(
|
73 |
label="Download Excel Template",
|
74 |
data=create_excel(),
|
75 |
+
file_name="upload_template.xlsx",
|
76 |
mime="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
77 |
)
|
78 |
|
|
|
99 |
with st.expander("ℹ️ - About this app", expanded=False):
|
100 |
st.write(
|
101 |
"""
|
102 |
+
This tool provides an interface for running an automated preliminary assessment of applications for a call for applications.
|
103 |
|
104 |
The tool functions by running selected text fields from the application through a series of LLMs fine-tuned for text classification (ref. diagram below).
|
105 |
The resulting output classifications are used to compute a score and a suggested pre-filtering action. The tool has been tested against
|
|
|
108 |
""")
|
109 |
st.image('images/pipeline.png')
|
110 |
|
111 |
+
uploaded_file = st.file_uploader("Select a file containing application pre-filtering data (see instructions in the sidebar)")
|
112 |
|
113 |
# Add session state variables if they don't exist
|
114 |
if 'show_button' not in st.session_state:
|
images/pipeline.png
CHANGED
![]() |
![]() |