Fabrice-TIERCELIN commited on
Commit
8fb4f0d
1 Parent(s): 2bf0610

Fix image slider

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -394,7 +394,7 @@ def restore(
394
  print(information)
395
 
396
  # Only one image can be shown in the slider
397
- return [results[0]], gr.update(format = output_format, value = results), gr.update(value = information, visible = True)
398
 
399
  def load_and_reset(param_setting):
400
  print('load_and_reset ==>>')
 
394
  print(information)
395
 
396
  # Only one image can be shown in the slider
397
+ return [input_image] + [results[0]], gr.update(format = output_format, value = results), gr.update(value = information, visible = True)
398
 
399
  def load_and_reset(param_setting):
400
  print('load_and_reset ==>>')