Spaces:
Running
Running
Update flux_train_ui.py
Browse files- flux_train_ui.py +1 -8
flux_train_ui.py
CHANGED
|
@@ -288,14 +288,7 @@ def start_training(
|
|
| 288 |
|
| 289 |
# Handle advanced options
|
| 290 |
if use_more_advanced_options:
|
| 291 |
-
|
| 292 |
-
more_advanced_options_dict = yaml.safe_load(more_advanced_options)
|
| 293 |
-
print(f"Advanced options parsed: {more_advanced_options_dict}")
|
| 294 |
-
config["config"]["process"][0] = recursive_update(config["config"]["process"][0], more_advanced_options_dict)
|
| 295 |
-
print(f"Config after advanced options update: {config}")
|
| 296 |
-
except Exception as e:
|
| 297 |
-
print(f"Error parsing or applying advanced options: {str(e)}")
|
| 298 |
-
raise
|
| 299 |
|
| 300 |
# Save the updated config
|
| 301 |
print("Saving updated config")
|
|
|
|
| 288 |
|
| 289 |
# Handle advanced options
|
| 290 |
if use_more_advanced_options:
|
| 291 |
+
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 292 |
|
| 293 |
# Save the updated config
|
| 294 |
print("Saving updated config")
|