-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.py
40 lines (38 loc) · 851 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import os
class Config(object):
SECRET_KEY = "fluent-forever"
GOOGLE_IMAGES_LANGUAGE = "French"
WIKTIONARY_LANGUAGE = "french"
NUM_GOOGLE_IMAGES = 5
TEMP_DIR = os.path.join(os.getcwd(), "app", "temp")
MAX_IMAGE_SIZE = (400, 400)
SIMPLE_WORDS_NOTE_TYPE = "2. Picture Words"
AVAILABLE_LANGUAGES = [
"Arabic",
"Chinese",
"Czech",
"Danish",
"Dutch",
"English",
"Estonian",
"Finnish",
"French",
"German",
"Greek",
"Hebrew",
"Hungarian",
"Icelandic",
"Italian",
"Japanese",
"Korean",
"Latvian",
"Lithuanian",
"Norwegian",
"Portuguese",
"Polish",
"Romanian",
"Russian",
"Spanish",
"Swedish",
"Turkish"
]