EE21 commited on
Commit
c9be414
1 Parent(s): af90ec4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def extract_organization_name(text):
28
  # Extract titles or identifiers for the ToS
29
  #tos_titles = [f"Document {i}" for i in range(len(dataset['train']))]
30
 
31
- tos_titles = [extract_organization_name(doc['plan_text']) for doc in dataset['train']]
32
 
33
 
34
  # Set page to wide mode
 
28
  # Extract titles or identifiers for the ToS
29
  #tos_titles = [f"Document {i}" for i in range(len(dataset['train']))]
30
 
31
+ tos_titles = [extract_organization_name(doc['plain_text']) for doc in dataset['train']]
32
 
33
 
34
  # Set page to wide mode