ChandimaPrabath commited on
Commit
6a6972e
·
1 Parent(s): 7f9534f

fix app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,11 +22,11 @@ if not os.path.exists(CACHE_DIR):
22
  if not os.path.exists(INDEX_FILE):
23
  raise FileNotFoundError(f"{INDEX_FILE} not found. Please make sure the file exists.")
24
 
25
- indexer()
26
-
27
  with open(INDEX_FILE, 'r') as f:
28
  file_structure = json.load(f)
29
 
 
 
30
  def prefetch_metadata():
31
  for item in file_structure:
32
  if 'contents' in item:
 
22
  if not os.path.exists(INDEX_FILE):
23
  raise FileNotFoundError(f"{INDEX_FILE} not found. Please make sure the file exists.")
24
 
 
 
25
  with open(INDEX_FILE, 'r') as f:
26
  file_structure = json.load(f)
27
 
28
+ indexer()
29
+
30
  def prefetch_metadata():
31
  for item in file_structure:
32
  if 'contents' in item: