Arthur2G commited on
Commit
694c2b1
·
1 Parent(s): 8f02c7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -34,7 +34,8 @@ assert AZURE_ACCOUNT_NAME is not None and AZURE_ACCOUNT_NAME != ""
34
  fs = AzureBlobFileSystem(account_name=AZURE_ACCOUNT_NAME, account_key=AZURE_ACCOUNT_KEY)
35
  # Retrieve the documents name whose indexes are stored
36
  path_list = fs.ls('gpt/storage_demo')
37
- global documents_list = [Path(path).name[:-4] for path in path_list]
 
38
 
39
  def construct_index(doc):
40
 
 
34
  fs = AzureBlobFileSystem(account_name=AZURE_ACCOUNT_NAME, account_key=AZURE_ACCOUNT_KEY)
35
  # Retrieve the documents name whose indexes are stored
36
  path_list = fs.ls('gpt/storage_demo')
37
+ global documents_list
38
+ documents_list = [Path(path).name[:-4] for path in path_list]
39
 
40
  def construct_index(doc):
41