EE21 commited on
Commit
fdcbe89
1 Parent(s): 1df149b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def main():
52
  uploaded_file = st.file_uploader("Upload a PDF", type="pdf")
53
 
54
  # Dropdown for selecting the document
55
- tos_selection_index = st.selectbox("Select a Terms of Service Document", range(len(tos_titles)), format_func=lambda x: tos_titles[x])
56
 
57
  if st.button("Summarize"):
58
  if uploaded_file and user_input and tos_selection_index:
 
52
  uploaded_file = st.file_uploader("Upload a PDF", type="pdf")
53
 
54
  # Dropdown for selecting the document
55
+ tos_selection_index = st.selectbox("Select a Terms of Service Document (only for testing purposes)", range(len(tos_titles)), format_func=lambda x: tos_titles[x])
56
 
57
  if st.button("Summarize"):
58
  if uploaded_file and user_input and tos_selection_index: