Tesneem commited on
Commit
9564b65
·
verified ·
1 Parent(s): 25d9750

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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