Fabrice-TIERCELIN commited on
Commit
fd67c32
·
verified ·
1 Parent(s): 745d524

Adapt time

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -265,7 +265,7 @@ def uncrop(
265
  minutes = minutes - (hours * 60)
266
  return [
267
  output_image,
268
- ("Start again to get a different result. " if is_randomize_seed else "") + "The new image is " + str(output_width) + " pixels large and " + str(output_height) + " pixels high, so an image of " + f'{output_width * output_height:,}' + " pixels. The image have been generated in " + str(hours) + " h, " + str(minutes) + " min, " + str(secondes) + " sec." + limitation,
269
  input_image,
270
  enlarged_image,
271
  mask_image
 
265
  minutes = minutes - (hours * 60)
266
  return [
267
  output_image,
268
+ ("Start again to get a different result. " if is_randomize_seed else "") + "The new image is " + str(output_width) + " pixels large and " + str(output_height) + " pixels high, so an image of " + f'{output_width * output_height:,}' + " pixels. The image have been generated in " + ((str(hours) + " h, ") if hours != 0 else "") + ((str(minutes) + " min, ") if hours != 0 or minutes != 0 else "") + str(secondes) + " sec." + limitation,
269
  input_image,
270
  enlarged_image,
271
  mask_image