Spaces:
Sleeping
Sleeping
Zeggai Abdellah
commited on
Commit
·
659455b
1
Parent(s):
4a8836b
change the josn file form data to chunk
Browse files
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("./
|
| 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")
|