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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ 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
- 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 = [Path(path).name[:-4] for path in path_list]
38
 
39
  def construct_index(doc):
40