Aidan Phillips
commited on
Commit
Β·
142a9b8
1
Parent(s):
eece69a
cleaned file structure
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ Navbar()
|
|
14 |
# Load translations from a JSON file to be used by the bot
|
15 |
def load_translations():
|
16 |
try:
|
17 |
-
with open("./translations.json", "r") as f:
|
18 |
return json.loads(f.read())
|
19 |
except Exception as e:
|
20 |
print(e)
|
|
|
14 |
# Load translations from a JSON file to be used by the bot
|
15 |
def load_translations():
|
16 |
try:
|
17 |
+
with open("./data/translations.json", "r") as f:
|
18 |
return json.loads(f.read())
|
19 |
except Exception as e:
|
20 |
print(e)
|
translations.json β data/translations.json
RENAMED
File without changes
|
accuracy_scores.csv β utilities/accuracy_scores.csv
RENAMED
File without changes
|
test_accuracy.py β utilities/test_accuracy.py
RENAMED
@@ -4,7 +4,7 @@ import csv
|
|
4 |
from tqdm import tqdm
|
5 |
|
6 |
try:
|
7 |
-
with open("
|
8 |
translations = json.loads(f.read())
|
9 |
except Exception as e:
|
10 |
print(e)
|
|
|
4 |
from tqdm import tqdm
|
5 |
|
6 |
try:
|
7 |
+
with open("../data/translations.json", "r") as f:
|
8 |
translations = json.loads(f.read())
|
9 |
except Exception as e:
|
10 |
print(e)
|