Izza-shahzad-13 commited on
Commit
9144b59
·
verified ·
1 Parent(s): 5370651

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ with open("FYP RAG/summerization-app/data/legal_data.pkl", "rb") as f:
52
  faiss_indices = {}
53
  for law in legal_data:
54
  try:
55
- index_path = f"data/{law.replace(' ', '_')}_faiss.index"
56
  index = faiss.read_index(index_path)
57
  faiss_indices[law] = (index, legal_data[law])
58
  except Exception as e:
 
52
  faiss_indices = {}
53
  for law in legal_data:
54
  try:
55
+ index_path = f"FYP RAG/summerization-app/data/{law.replace(' ', '_')}_faiss.index"
56
  index = faiss.read_index(index_path)
57
  faiss_indices[law] = (index, legal_data[law])
58
  except Exception as e: