docs: def reset():
      """Delete the session and clear temporary directories
  
      """
      shutil.rmtree(session['img_input_dir'])
      shutil.rmtree(session['img_output_dir'])
      session.clear()
      return jsonify(ok='true')