Spaces:
Runtime error
Runtime error
Update app.py
#1
by Code0ut - opened
app.py
CHANGED
|
@@ -21,8 +21,8 @@ nltk.download('wordnet')
|
|
| 21 |
# ---------------------
|
| 22 |
# 2. Load Dataset
|
| 23 |
# ---------------------
|
| 24 |
-
dataset_path = "
|
| 25 |
-
if not os.path.exists(
|
| 26 |
raise FileNotFoundError(f"{dataset_path} not found. Please ensure the file is in the current directory.")
|
| 27 |
|
| 28 |
with open(dataset.json, "r") as f:
|
|
|
|
| 21 |
# ---------------------
|
| 22 |
# 2. Load Dataset
|
| 23 |
# ---------------------
|
| 24 |
+
dataset_path = "dataset.json"
|
| 25 |
+
if not os.path.exists(dataset_path):
|
| 26 |
raise FileNotFoundError(f"{dataset_path} not found. Please ensure the file is in the current directory.")
|
| 27 |
|
| 28 |
with open(dataset.json, "r") as f:
|