Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -155,6 +155,7 @@ def change_defaults(option, images):
|
|
| 155 |
repeats = next(repeats for num, repeats in num_images_settings["repeats"] if num_images > num)
|
| 156 |
|
| 157 |
random_files = []
|
|
|
|
| 158 |
if settings["with_prior_preservation"]:
|
| 159 |
directory = settings["dataset_path"]
|
| 160 |
file_count = settings["file_count"]
|
|
|
|
| 155 |
repeats = next(repeats for num, repeats in num_images_settings["repeats"] if num_images > num)
|
| 156 |
|
| 157 |
random_files = []
|
| 158 |
+
print("Prior Preservation Loss:" + str(settings["with_prior_preservation"]))
|
| 159 |
if settings["with_prior_preservation"]:
|
| 160 |
directory = settings["dataset_path"]
|
| 161 |
file_count = settings["file_count"]
|