Spaces:
Sleeping
Sleeping
Commit
·
a77c071
1
Parent(s):
0b10a80
fixe scripts path
Browse files
app.py
CHANGED
|
@@ -87,7 +87,7 @@ def train_model(model_module, data_option, data_file, data_path, data_name_kaggl
|
|
| 87 |
return "Invalid data option selected.", None
|
| 88 |
|
| 89 |
# Prepare command-line arguments for train_classification_model.py
|
| 90 |
-
cmd = [sys.executable, os.path.join(
|
| 91 |
cmd.extend(['--model_module', model_module])
|
| 92 |
cmd.extend(['--data_path', data_path])
|
| 93 |
cmd.extend(['--target_variable', target_variable])
|
|
|
|
| 87 |
return "Invalid data option selected.", None
|
| 88 |
|
| 89 |
# Prepare command-line arguments for train_classification_model.py
|
| 90 |
+
cmd = [sys.executable, os.path.join('scripts', 'train_classification_model.py')]
|
| 91 |
cmd.extend(['--model_module', model_module])
|
| 92 |
cmd.extend(['--data_path', data_path])
|
| 93 |
cmd.extend(['--target_variable', target_variable])
|