Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,9 @@ with st.sidebar:
|
|
| 35 |
|
| 36 |
is_grant_app = st.toggle("Is this a Grant Application?", value=True)
|
| 37 |
|
| 38 |
-
uploaded_file = st.file_uploader("Upload a DOCX or TXT file", type=["docx", "txt"])
|
|
|
|
|
|
|
| 39 |
|
| 40 |
if uploaded_file:
|
| 41 |
temp_path = Path(tempfile.gettempdir()) / uploaded_file.name
|
|
|
|
| 35 |
|
| 36 |
is_grant_app = st.toggle("Is this a Grant Application?", value=True)
|
| 37 |
|
| 38 |
+
# uploaded_file = st.file_uploader("Upload a DOCX or TXT file", type=["docx", "txt"])
|
| 39 |
+
uploaded_file = st.file_uploader("Upload a DOCX, TXT, or PDF file", type=["docx", "txt", "pdf"])
|
| 40 |
+
|
| 41 |
|
| 42 |
if uploaded_file:
|
| 43 |
temp_path = Path(tempfile.gettempdir()) / uploaded_file.name
|