vladyslav
commited on
Commit
·
706fbde
1
Parent(s):
e872a9e
Fixed selecting available models
Browse files
app.py
CHANGED
@@ -10,10 +10,10 @@ from utils import save_results, get_test_by_student_class_book
|
|
10 |
|
11 |
load_dotenv()
|
12 |
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
|
18 |
questions_data = []
|
19 |
current_question_index = 0
|
|
|
10 |
|
11 |
load_dotenv()
|
12 |
|
13 |
+
if os.getenv("ENV_TYPE") == "dev":
|
14 |
+
MODELS["Test"] = "test"
|
15 |
+
MODELS_PATH["Test"] = "test"
|
16 |
+
BOOKS["Test"] = "test.json"
|
17 |
|
18 |
questions_data = []
|
19 |
current_question_index = 0
|