Fabrice-TIERCELIN commited on
Commit
96ff21c
·
verified ·
1 Parent(s): f6c0ece

Adapt time

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -169,7 +169,7 @@ def redraw(
169
  minutes = minutes - (hours * 60)
170
  return [
171
  output_image,
172
- ("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,
173
  input_image
174
  ]
175
 
 
169
  minutes = minutes - (hours * 60)
170
  return [
171
  output_image,
172
+ ("Start again to get a different result. " if is_randomize_seed else "") + "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,
173
  input_image
174
  ]
175