EE21 commited on
Commit
75d2ced
1 Parent(s): 8cff1a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,10 +13,10 @@ from PIL import Image
13
  import io
14
  #from blanc import BlancHelp
15
 
 
16
  # Load in ToS
17
  dataset = load_dataset("EE21/ToS-Summaries")
18
 
19
-
20
  # Extract titles or identifiers for the ToS
21
  tos_titles = [f"Document {i}" for i in range(len(dataset['train']))]
22
 
@@ -55,7 +55,7 @@ def main():
55
 
56
  # Middle column: Text input and File uploader
57
  with col2:
58
- user_input = st.text_area("Enter your text here:")
59
  uploaded_file = st.file_uploader("Upload a PDF", type="pdf")
60
 
61
  # Dropdown for selecting the document
 
13
  import io
14
  #from blanc import BlancHelp
15
 
16
+
17
  # Load in ToS
18
  dataset = load_dataset("EE21/ToS-Summaries")
19
 
 
20
  # Extract titles or identifiers for the ToS
21
  tos_titles = [f"Document {i}" for i in range(len(dataset['train']))]
22
 
 
55
 
56
  # Middle column: Text input and File uploader
57
  with col2:
58
+ user_input = st.text_area("Enter a text")
59
  uploaded_file = st.file_uploader("Upload a PDF", type="pdf")
60
 
61
  # Dropdown for selecting the document