ZhouwqZJ commited on
Commit ·
73f93ea
1
Parent(s): efe5b18
modified: app.py
Browse files
app.py
CHANGED
|
@@ -428,7 +428,9 @@ class FluxEditor:
|
|
| 428 |
if target_prompt == source_prompt:
|
| 429 |
target_prompt = 'Reconstruction: ' + target_prompt
|
| 430 |
|
| 431 |
-
|
|
|
|
|
|
|
| 432 |
fn = os.path.join(self.output_dir, output_name)
|
| 433 |
|
| 434 |
print(f"Done in {t1 - t0:.1f}s. Saving {fn}")
|
|
|
|
| 428 |
if target_prompt == source_prompt:
|
| 429 |
target_prompt = 'Reconstruction: ' + target_prompt
|
| 430 |
|
| 431 |
+
target_suffix = " ".join(target_prompt.split()[-5:])
|
| 432 |
+
output_name = f"round_{formatted_idx}_{target_suffix}_{denoise_strategy}.jpg"
|
| 433 |
+
|
| 434 |
fn = os.path.join(self.output_dir, output_name)
|
| 435 |
|
| 436 |
print(f"Done in {t1 - t0:.1f}s. Saving {fn}")
|