Zeggai Abdellah commited on
Commit
659455b
·
1 Parent(s): 4a8836b

change the josn file form data to chunk

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ async def generate_questions():
221
  generation_status["error"] = None
222
 
223
  # Load all JSON files from data folder
224
- json_files = glob.glob("./data/*.json")
225
 
226
  if not json_files:
227
  raise HTTPException(status_code=404, detail="No JSON files found in data folder")
 
221
  generation_status["error"] = None
222
 
223
  # Load all JSON files from data folder
224
+ json_files = glob.glob("./chunk/*.json")
225
 
226
  if not json_files:
227
  raise HTTPException(status_code=404, detail="No JSON files found in data folder")