vishwask commited on
Commit
9ca1b1b
·
verified ·
1 Parent(s): 5588b0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -105,10 +105,10 @@ def initialize_database(list_file_obj):
105
  collection_name = collection_name[:50]
106
  print(collection_name)
107
  ## Enforce start and end as alphanumeric character
108
- if not collection_name[0].isalnum():
109
- collection_name[0] = 'A'
110
- if not collection_name[-1].isalnum():
111
- collection_name[-1] = 'Z'
112
  # print('list_file_path: ', list_file_path)
113
  print('Collection name: ', collection_name)
114
  # Load document and create splits
 
105
  collection_name = collection_name[:50]
106
  print(collection_name)
107
  ## Enforce start and end as alphanumeric character
108
+ # if not collection_name[0].isalnum():
109
+ # collection_name[0] = 'A'
110
+ # if not collection_name[-1].isalnum():
111
+ # collection_name[-1] = 'Z'
112
  # print('list_file_path: ', list_file_path)
113
  print('Collection name: ', collection_name)
114
  # Load document and create splits