old_contents: import tensorflow as tf
  import tensorflow.contrib.learn.python.learn.learn_runner as learn_runner
  
  from .experiment import def_def_experiment_fn
  from .flag import FLAGS, add_flag
  
  
  
  def def_run():
    add_flag("output_dir",
             default="output",
             help="Directory for checkpoint and event files")
  
    def_experiment_fn = def_def_experiment_fn()
  
    def run(model_fn, input_fn):
      return learn_runner.run(def_experiment_fn(model_fn, input_fn),
                              FLAGS.output_dir)
  
    return run
  
new_contents: import tensorflow.contrib.learn.python.learn.learn_runner as learn_runner
  
  from .experiment import def_def_experiment_fn
  from .flag import FLAGS, add_flag
  
  
  
  def def_run():
    add_flag("output_dir",
             default="output",
             help="Directory for checkpoint and event files")
  
    def_experiment_fn = def_def_experiment_fn()
  
    def run(model_fn, input_fn):
      return learn_runner.run(def_experiment_fn(model_fn, input_fn),
                              FLAGS.output_dir)
  
    return run
  
subject: Remove unused import