prakrutpatel commited on
Commit
3bc7980
·
1 Parent(s): 68ea811

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -55,8 +55,7 @@ utils_ops.tf = tf.compat.v1
55
 
56
  # Patch the location of gfile
57
  tf.gfile = tf.io.gfile
58
- os.chdir('..')
59
- os.system('python research/object_detection/builders/model_builder_tf2_test.py')
60
  def load_model(model_dir):
61
  model = tf.saved_model.load(str(model_dir))
62
  model = model.signatures['serving_default']
 
55
 
56
  # Patch the location of gfile
57
  tf.gfile = tf.io.gfile
58
+ os.system('python object_detection/builders/model_builder_tf2_test.py')
 
59
  def load_model(model_dir):
60
  model = tf.saved_model.load(str(model_dir))
61
  model = model.signatures['serving_default']